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.