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

Disable all branch scanning when triggering specific branch

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 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

            p4karl Karl Wirth added a comment -

            Hi velkrish - Can you please check JENKINS-64946. To me it looks like the same problem. That contains a workaround and I beleive we are about to release a possible fix for the problem.

            p4karl Karl Wirth added a comment - Hi velkrish - Can you please check JENKINS-64946 . To me it looks like the same problem. That contains a workaround and I beleive we are about to release a possible fix for the problem.

            Thank you p4karl , I have checked for streams, now it is doing checkout only for specific build.

            velkrish Velusamy Krishnan added a comment - Thank you p4karl , I have checked for streams, now it is doing checkout only for specific build.
            p4karl Karl Wirth added a comment -

            Hi velkrish 

            Thats great news and thanks for letting us know.

            p4karl Karl Wirth added a comment - Hi velkrish   Thats great news and thanks for letting us know.

            People

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

              Dates

                Created:
                Updated:
                Resolved: