This issue is archived. You can view it, but you can't modify it. Learn more

ExportXMLWordPrintable

      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()

            Assignee:
            Antonio Muñiz
            Reporter:
            Dominik Bartholdi
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: