New answers tagged

0

I'm not really sure I understand your question, but you can execute arbitrary Groovy inside of a script block, so you can do just about anything within script. For example, here is my interpretation of what you are asking for: stage ('Execute jobs') { steps { node('node1') { script { parallel_jobs = [:] ...


0

You can use the trim parameter: string(name: 'some parameter', trim: true)


-1

Could credentials binding plugin be the answer? The idea is to add svn user and password to Jenkins credentials store and then use it in the pipeline. withCredentials([ usernamePassword( credentialsId: 'mySvnLogin', usernameVariable: 'USER', passwordVariable: 'PASSWORD')]) { sh ''' svn ls <url> --non-interactive --...


Top 50 recent answers are included