Category "jenkins-pipeline"

How to run multiple agents (given on runtime) simultaneously with Jenkins Declarative Pipeline?

I'm running a Jenkins Job on multiple platforms selected manually at runtime. Having multi-select Active Choices Parameter named "Platforms" for the relevant no

Why does Jenkins creates a subfolder within the workspace@script folder to checkout git code instead of the workspace@script itself?

This happened after I updated some plugins and added 'blue ocean' to our Jenkins. Every job we have is using a JenkinsFile to build and package our applications

Keeping quotes from std out for passing to bash

Okay, this is a bit convoluted but I've got a python script that digests a json file and prints a string representation of that file like so for id in pwds.keys

Jenkins jenkins.plugins.casc.ConfiguratorException

Am new and have problem while build jenkins on dockerfile in localhost. error: io.jenkins.plugins.casc.ConfiguratorException: No configurator for the following

Running Pythonscript over SSH from a Jenkinsagent doesn't start the script

Update: The problem seems to be quite different from what I initially thought. Information about this is at the bottom of the post. I've been having quite the s

How to run a Jenkins Startup Script

I need to run a script on the Jenkins Script Console at each Jenkins server start-up. Is that any way to automate that?

How can we trigger a parameterised jenkins release job manually (it takes Pull request ID) only if Pull request build job was successful?

I have setup a jenkins pipeline job which gets triggered whenever a new Pull request arrives on my github repository main branch (this job builds and run tests

Pass parameters to Jenkins shared library

I just simply want to pass the repo name cloud-nates in shared pipeline, so i've passed the parameter deployName from jenkinsfile to shared library. below is th

Docker not found when building docker image using Docker Jenkins container pipeline

I have a Jenkins running as a docker container, now I want to build a Docker image using pipeline, but Jenkins container always tells Docker not found. [simple

How to re-trigger a stage in a Jenkinsfile

I have a situation where in 2 Stages in a Jenkinsfile I have to do the following things: Push a Docker image to artifactory. This push is to a folder on artifac

Azure Board integration with Jenkins

Is it possible to get a azure board ticket created from a Jenkins event . As In your Jenkins pipeline , if an build fails , it should create an ticket on the az

Jenkins pipeline Schedule job that will skip Wednesday once in two week

I'm looking for a way to schedule my pipeline to skip Wednesday once every two weeks. Now it works like this: H 4 * * 1-2,4-5 But it skips all the Wednesday

Script section is not working in pipeline script in shared library

My Jenkins file: @Library("shared@dev")_ Start() My Start.groovy pipeline script: def call() { pipeline { agent any stages {

Jenkins miniOrange SAML 2.0 failed login

I have installed and configured miniorange plugin following exactly this setup: https://plugins.miniorange.com/saml-single-sign-on-sso-into-jenkins-using-google

escape single quote awk command in jenkins pipeline

I get error "awk: fatal: cannot open file `print' for reading (No such file or directory)" when executing this command in jenkins pipeline. sh """ssh -o StrictH

Set environmental variables from shell script in Jenkins pipeline

I have a requirement where I have a shell file (init.sh) which sets environmental variables based on conditions. My pipeline looks something like this pipeline

Jenkins active choice options populated with gke cluster namespaces

I am trying to create a Jenkins pipeline with active choice parameter options populated with GKE Cluster namespaces. I can Run a single shell command and get ou

How to run a 2 Jenkins slaves simultaneously with only one trigger from the job of master

I have a selenium automation project with Maven and I am currently using XML files to run the batches of test cases locally. Now I have a requirement to run the

How to update a file using jenkins job

I have a jenkins Job that create an image and upload to dockerhub. The next step is to deploy a "pod" configuration to k8s. I have the pod.yaml in my giy, but I

Build stages in Jenkins only when specific files are changed but use a function

I want to update my Jenkins pipeline in way that certain stages are only build when some specific files are changed (git is already integrated in the pipeline).