Top "Jenkins-pipeline" questions

Questions about the Jenkins “Pipeline” plugin suite (formerly “Workflow”). Not about pipelines in Jenkins in general (e.g. using downstream jobs).

Jenkins pipeline sh fail with "cannot run program nohup" on windows

I have windows 10 and I want to execute the sh command in the Jenkinsfile from Jenkins pipeline using bash for …

bash jenkins windows-10 jenkins-pipeline
how to disable jenkins pipeline job

I am using pipeline jobs with Jenkins 2.0, but I don't see option 'disable job' as I was used to in …

jenkins jenkins-pipeline
How to exit from the Jenkins pipeline if a stage sets build fail/unstable status?

I have a declarative Jenkins pipeline with stage1, stage2, stage3 and so on. I want to stop stage2 from running …

jenkins groovy jenkins-pipeline jenkins-groovy
Error response from daemon: pull access denied for TestDockerImage

I am new to docker and Jenkins2. I am trying to pull docker image from private docker repository. pipeline { agent{ …

docker jenkins-pipeline jenkins-2
Getting email-ext script templates to work with Jenkins pipeline

I recently converted to Jenkins 2.x and I am experimenting with pipeline flow, but I can't seem to get the …

jenkins jenkins-pipeline email-ext
Jenkinsfile and different strategies for branches

I'm trying to use Jenkins file for all our builds in Jenkins, and I have following problem. We basically have 3 …

jenkins jenkins-pipeline
Jenkins Pipeline Fails if Step is Unstable

Currently my pipeline fails (red), when a maven-job is unstable (yellow). node { stage 'Unit/SQL-Tests' parallel ( phase1: { build 'Unit-Tests' }, // maven …

maven jenkins jenkins-pipeline jenkins-2
Jenkins Pipeline Job with file parameter

I'm putting together a Jenkins pipeline job which will take a file parameter. I can trigger the job and point …

jenkins parameters jenkins-pipeline
Jenkins pipeline - ssh to different machine and where to store credentials (using ssh/SSHAgent plugin/etc...)

TLDR: how to ssh a different machine and where to store ssh credentials on Jenkins pipeline (using ssh / SSHAgent plugin /…

jenkins ssh jenkins-pipeline credentials ssh-agent