Jenkins active choice reactive parameter groovy script can’t be worked
I set an active choice parameter named JOB_NAME in a jenkins job,it gets a view’s all job name through the below groovy script :
Jenkins active choice reactive parameter groovy script can’t be worked
I set an active choice parameter named JOB_NAME in a jenkins job,it gets a view’s all job name through the below groovy script :
Jenkins active choice reactive parameter groovy script can’t be worked
I set an active choice parameter named JOB_NAME in a jenkins job,it gets a view’s all job name through the below groovy script :
groovy.lang.MissingPropertyException: No such property: webhookData for class
jenkins groovy script error
Create two jenkins pipelines with one script
I have the following problem – I have one jenkins pipeline script which is created by a seed job.
From that pipeline script I would like to create two pipelines – one created from master-branch and the other one with a parameter branch.
how to get `hudson.model.Node` from `org.jenkinsci.plugins.workflow.job.WorkflowRun` by groovy in Jenkins
I’m using groovy script in pipeline build to get the current running nodes information.
Jenkins: Groovy find function doesn’t assign matches in capturing groups to parameters
I am trying to get the account name of the pipeline which is running based on the folder it is running inside Jenkins.
To do that I am using a regex filter in the find()
function of Groovy which takes in a closure argument, whose parameters are assigned values based on the match and capturing groups of the regex as documented here.
How do I get my dynamic parallel branches working in jenkins?
I’m trying to use jenkins (v2.452.2) to trigger automated functional tests against our selenium grid using a command line tool I’ve written. I’ve been able to get it working for single tests but I’m now trying to set it up so that I can provide it with an array of test set IDs (of variable length) and have it dynamically run parallel branches of a stage in my pipeline that each use my command line tool and pass in arguments (including the test set id) to fire off the tests against the grid.
Jenkinsfile won’t substitute ${USERNAME} with actual username
I have created a very simple parameterized project using Jenkins. Its parameter name is USERNAME
and its default value is John
.