-
Bug
-
Resolution: Fixed
-
Blocker
-
None
-
Jenkins 2.32.2.6
Declarative Pipeline 1.02
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
}
}
- is duplicated by
-
JENKINS-43635 declarative pipeline fails with workflow library
-
- Closed
-
- links to