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

Disable all branch scanning when triggering specific branch

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Major
    • p4-plugin
    • CloudBees Jenkins Enterprise 2.332.1.5
      P4 Plugin 1.12.2

    Description

      Dear Engineers,

      I have configured a multi branch pipeline using Helix Branches, my repository contains around 40 heavy branches, Initially it scans all the branches and it creates jobs for each branch if Jenkinsfile present. But when I manually triggering any of a particular branch job, it again scans all the branches to get changelist(p4 dirs //depot/PROJ/*) for Jenkinsfile. It should only get changelist for specific branch and do the checkout of Jenkinsfile. It adds a lot of build time for builds.

      Is there anyway to disable all branch scanning for Jenkinsfile, when specific branch build triggered? Or someone can give me pointers so I can make this relevant change.

       

      Thanks,

      Velu

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              velkrish Velusamy Krishnan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: