-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major
-
Component/s: pipeline-milestone-step-plugin
-
None
-
Environment:
The documentation clearly says the 'ordinal' is optional, but executing this pipeline:
pipeline {
agent any
stages {
stage ('step 1') {
steps {
milestone()
echo "hello 2"
}
}
stage ('step 2') {
steps {
milestone()
echo "hello 2"
}
}
}
}
Â
I get the following exception
Â
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: WorkflowScript: 8: Missing required parameter: "ordinal" @ line 8, column 9. milestone() ^ WorkflowScript: 14: Missing required parameter: "ordinal" @ line 14, column 9. milestone()
- duplicates
-
JENKINS-38580 Declarative Pipeline does not work with Milestone without Ordinal
-
- Closed
-