How to programmatically check if a Jenkins multi-branch pipeline scan has completed?
I use the Build pipeline plugin when triggering a job from a pipeline script, like this, where I set the wait
condition to true since I want the job to finish before continuing.
How to programmatically check if a Jenkins multi-branch pipeline scan has completed?
I use the Build pipeline plugin when triggering a job from a pipeline script, like this, where I set the wait
condition to true since I want the job to finish before continuing.
How to check if a Jenkins multi-branch pipeline scan has completed?
I use the Build pipeline plugin when triggering a job from a pipeline script, like this, where I set the wait
condition to true since I want the job to finish before continuing.
How to run a closure that returns a value in parallel in Jenkins pipeline?
I want to check if I can delete some of our AWS EBS snapshots that meet a certain criteria. However, since we have a LOT of snapshots, I don’t want to iterate one-by-one, and instead perform the check if I can delete them in parallel. I get a list of snapshots in JSON form like this
creating file from groovy code inside Jenkinsfile
I’m trying to create a json file from groovy code that is called from Jenkinsfile. The groovy code seems to work (i.e at the end of the code I list the files in the directory and I see the file is listed there), but when I try try to access that file from a later stage from shell or python then the file isn’t there.
how to store username and password as environment variable from credentials manager in jenkins
I have been trying to store the username environment variable name and password as value.
How can I set these options programmatically in a Jenkins multi-branch pipeline?
I have several multi-branch pipeline jobs and I need to set this in all of them. I can point-and-click I know, but how can I set them programmatically in the Jenkins script console? They’re the Branch Sources -> Behaviors
block of the job configuration page. I know how to search all the jobs that I need, just want the particular code for these settings. Thanks!