-
Bug
-
Resolution: Duplicate
-
Minor
-
None
The input step in below example will run even if the pipeline isn't building a matching tag
But the steps won't execute, so the input is kinda void anyway.
pipeline {
agent any
stages {
stage ("First") {
steps {
echo "Hello"
}
}
stage ("Second") {
options {
timeout 15
}
when {
tag "release-*"
}
input {
message 'Deploy to production?'
ok 'Fire zee missiles!'
}
steps {
echo "World"
}
}
}
}
- duplicates
-
JENKINS-50880 Create a new option for running when condition before stage input
-
- Closed
-
- is duplicated by
-
JENKINS-50785 when stage and input stage both is not work
-
- Fixed but Unreleased
-