Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Not A Defect
-
None
Description
I am working with a simple pipeline, just to get familiar with the system. My pipeline is defined in the attached Jenkinsfile. I can't seem to get the "Deploy" stage to work. I am using the simple "when { branch 'master' }". However I keep getting: Stage 'Deploy' skipped due to when conditional
NOTE: This is a single branch repo with only a master branch
Jenkins Version: 2.51
Pipeline Plugin Version: 2.5
Running on AWS Linux image. I followed this setup guide: https://aws.amazon.com/getting-started/projects/setup-jenkins-build-server/
Attachments
Issue Links
- links to
Code changed in jenkins
User: Andrew Bayer
Path:
content/doc/book/pipeline/syntax.adoc
http://jenkins-ci.org/commit/jenkins.io/37472aedc9de44ca1f3cbe98c48becfefe8f706f
Log:
JENKINS-43104Clarify that when->branch only works on multibranch