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

Basic Branch Build Strategies Plugin build matched jobs on manual scan

XMLWordPrintable

      The build strategies configuration of multibranch is attached.

      Expected: 

      1. Skip build of master, develop and any other branch jobs after 'Scan Multibranch Pipeline Now' button is clicked(It doesn't work)
      2. Skip initial build of master, develop and any other branch jobs on first branch indexing(It works)
      3. Skip build of branch jobs except master and develop branch(It works)
      4. Automatically build master and develop branch when changes detected(It works)
      5. Automatically build PR jobs even it is initial build(It works)
      6. Automatically build PR jobs when changes detected(It works)
      7. Automatically build target branch jobs, when a PR is merged and target branch is master or develop(It works)

       

      Jenkinsfile of multibranch job

      // code placeholder
      pipeline {
        agent any
        stages {
          stage("Init") {
            agent any
            steps {
              echo "Init"
            }
          }
        }
      }
        
      

       

            jack_zhang Jack
            jack_zhang Jack
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: