Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-50101

Support for declarative pipeline

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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'
                  }
              }
          }
      }
      

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

              Assignee:
              allan_burdajewicz Allan BURDAJEWICZ
              Reporter:
              allan_burdajewicz Allan BURDAJEWICZ
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated: