We changed our privacy policy. Read more.

New answers tagged

0

I would use a checkboxParam that has the job names values. Then I would iterate over this param and trigger jobs with it from same groovy file. If you need to get the branch name you can use a git param for it.


0

First of all, I'm not sure if you want to keep the container in the block because the container will be stopped as soon as its body exits if you use withRun. So you can run the COMMAND that specified after the IMAGE can be run within either Image.run([arg, command]) or withRun according to Jenkins pipeline-syntax page. $ docker run [OPTIONS] IMAGE [COMMAND] [...


1

Jenkins stage view is in fact showing that the jobs have ended. More specifically, the jobs have failed, as indicated by the "failed" in the bottom-right corner of the stage which failed.


0

With a bat pipeline step it works with: script { withEnv ( ['JENKINS_NODE_COOKIE=do_not_kill'] ) { bat """ @set prompt=\$G\$S cd ${RUN_DIR} start \"title\" my.bat start \"title\" my.cmd ...


0

The simplest way to do this would probably be to add a retry option to the pipeline. See https://www.jenkins.io/doc/book/pipeline/syntax/#options


0

I have same issue, adding mkdir .local && chmod g+rwx .local before instalation helped me. RUN mkdir .local && chmod g+rwx .local \ && echo 'y' | sfdx plugins:install sfpowerkit or install it whithin jenkins 'steps'. it might not be very clever or wise but it should work.


0

@shree, I have also seen this scenario in localhost, later I have found that there is an issue with the google chrome browser, somehow it is not compatible with that, please try it with another Firefox browser and check.


Top 50 recent answers are included