-
Bug
-
Resolution: Fixed
-
Major
-
None
-
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