Support for declarative pipeline

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

XMLWordPrintable

      It would be great if there was support for the Declarative Pipeline syntax. Something like the following:

      pipeline {
          agent any
          options {
              authorizeProject(specificUsersAuthorizationStrategy(userid: 'admin', dontRestrictJobConfiguration: false))
          }
          stages {
              stage('Example') {
                  steps {
                      echo 'Hello World'
                  }
              }
          }
      }
      

            Assignee:
            Allan BURDAJEWICZ
            Reporter:
            Allan BURDAJEWICZ
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: