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

Support for declarative pipeline

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • authorize-project:1.3.0

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

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

              Created:
              Updated: