Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Blocker
-
Resolution: Fixed
-
Component/s: pipeline-model-definition-plugin
-
Labels:None
-
Environment:Jenkins 2.32.2.6
Declarative Pipeline 1.02
-
Similar Issues:
Description
While this block works on my local Jenkins it doesn't work on my company's internal Jenkins
stage('Push to S3') { when { expression { def branch = env.BRANCH_NAME return branch == 'master' || branch == 'develop' } } steps { // Push to S3 } }
Attachments
Issue Links
- is duplicated by
-
JENKINS-43635 declarative pipeline fails with workflow library
-
- Resolved
-
- links to