Questions about the Jenkins “Pipeline” plugin suite (formerly “Workflow”). Not about pipelines in Jenkins in general (e.g. using downstream jobs).
Given a jenkins 2.1 build pipeline, jenkins injects a env variable into the node{}. For example, BRANCH_NAME can be accessed …
jenkins groovy jenkins-pipelineHow do you run a build step/stage only if building a specific branch? For example, run a deployment step …
jenkins groovy jenkins-pipelineI have the following code within a Jenkins pipeline: stage ('Question') { try { timeout(time: 1, unit: 'MINUTES') { userInput = input message: 'Choose …
variables jenkins groovy jenkins-pipelinePlease note: the question is based on the old, now called "scripted" pipeline format. When using "declarative pipelines", parallel blocks …
jenkins jenkins-pipelineAre comments possible in a Jenkinsfile? If so, what's the syntax? I am using the declarative pipeline syntax. I want …
jenkins groovy comments jenkins-pipelineWhen writing jenkins pipelines it seems to be very inconvenient to commit each new change in order to see if …
jenkins jenkins-workflow jenkins-pipelineI've create a jenkins pipeline and it is pulling the pipeline script from scm. I set the branch specifier to …
git jenkins branch jenkins-pipelineI am trying to run a block if a directory exists in my jenkins workspace and the pipeline step "fileExists: …
jenkins jenkins-pipelineI have a declarative pipeline script for my multibranch project in which I would like to read a text file …
jenkins groovy jenkins-plugins jenkins-pipeline multibranch-pipelineI'm using Jenkins v2.1 with the integrated delivery pipeline feature (https://jenkins.io/solutions/pipeline/) to orchestrate two existing builds (…
jenkins groovy jenkins-pipeline