Questions about the Jenkins “Pipeline” plugin suite (formerly “Workflow”). Not about pipelines in Jenkins in general (e.g. using downstream jobs).
Here's the code I'm playing with node { stage 'build' echo 'build' stage 'tests' echo 'tests' stage 'end-to-end-tests' def e2e = …
jenkins groovy jenkins-workflow jenkins-pipelineI have a jenkinsfile dropped into the root of my project and would like to pull in a groovy file …
jenkins groovy jenkins-pipelineHere's my Jenkins 2.x pipeline: node ('master'){ stage 'Checkout' checkout scm stage "Build Pex" sh('build.sh') } When I run …
shell jenkins groovy jenkins-pipelineI have a Jenkins pipeline which has multiple stages, for example: node("nodename") { stage("Checkout") { git .... } stage("Check Preconditions") { ... if(!…
jenkins jenkins-pipelineI'm using the Jenkins Multiple SCM plugin to check out three git repositories into three sub directories in my Jenkins …
git jenkins jenkins-pipelineWhat is the difference between an agent and a node in a jenkins pipeline? I've found those definitions: node: Most …
jenkins jenkins-pipelineUnder certain conditions I want to fail the build. How do I do that? I tried: throw RuntimeException("Build failed …
jenkins groovy jenkins-pipelineI'm new to the Jenkins Pipeline plugin, and especially new to the multibranch pipeline plugin. In a standard build I …
jenkins jenkins-plugins jenkins-pipelineUsing the Pipeline plugin in Jenkins 2.x, how can I access a Groovy variable that is defined somewhere at stage- …
jenkins jenkins-pipelineI want to use the parameters that we define in the Jenkins job as arguments to the shell commands in …
shell jenkins jenkins-pipeline jenkins-cli