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

Add support to Pipeline projects

XMLWordPrintable

      When pipeline project have that configuration (pipeline script)

      pipeline script
      properties([
          [$class: 'RebuildSettings', autoRebuild: false, rebuildDisabled: false], 
          parameters([
              [$class: 'GitParameterDefinition', 
                       branch: '', 
                       branchFilter: '.*', 
                       defaultValue: '', 
                       description: 'description', 
                       name: 'BRANCH_PARAM',
                       quickFilterEnabled: false, 
                       selectedValue: 'NONE', sortMode: 'NONE',tagFilter: '*', type: 'PT_BRANCH']
          ]),
          pipelineTriggers([])
      ])
      
      node('master') {
          // some block
          stage('get GIT Learn') {
              git url: 'https://github.com/klimas7/Learn.git', branch: params.BRANCH_PARAM
          }
          stage('get GIT Learn Spring') {
              git url: 'https://github.com/klimas7/LearnSpring.git'
          }
      }
      

      Plugin doesn't work correctly

            klimas7 Boguslaw Klimas
            klimas7 Boguslaw Klimas
            Votes:
            9 Vote for this issue
            Watchers:
            18 Start watching this issue

              Created:
              Updated:
              Resolved: