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

Multibranch Helix Branches: support exclusionary mapping?

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • p4-plugin

      In Multibranch Pipeline job, using Helix Branches, how do I specify exclusionary mapping so that my .cache directory won't get deleted during p4 reconcile.

      Tried using the hyphen notation, but was not able to keep the .cache directory in Jenkins workspace.

          [JENKINS-49804] Multibranch Helix Branches: support exclusionary mapping?

          Would you look into it please

          W Basu Perforce added a comment - Would you look into it please

          Karl Wirth added a comment -

          Hi bingshiao. Do you have a Perforce support contract? If you do can you please email support@perforce.com  so I take this discussion offline.

          With Perforce getting the jenkinsfile and getting the source should be two seperate steps for best control. Therefore I think redesigning the job to disable implicit checkout ( 'options { skipDefaultCheckout() }'  in the Jenkinsfile) and use an explicit checkout or sync step in the Jenkinsfile with the exclusion is the solution. There is a simple example in:

          Important Recommendations

          Karl Wirth added a comment - Hi bingshiao . Do you have a Perforce support contract? If you do can you please email  support@perforce.com   so I take this discussion offline. With Perforce getting the jenkinsfile and getting the source should be two seperate steps for best control. Therefore I think redesigning the job to disable implicit checkout ( ' options { skipDefaultCheckout() } '   in the Jenkinsfile) and use an explicit checkout or sync step in the Jenkinsfile with the exclusion is the solution. There is a simple example in: Important Recommendations

          p4karl Dead link on "Important Recommendations

          Doug Whitfield added a comment - p4karl Dead link on "Important Recommendations

          Joel Brown added a comment -

          Joel Brown added a comment - Important recommendations is now at https://github.com/jenkinsci/p4-plugin/blob/master/docs/WORKFLOW.md#important-recommendations-1

          Paul Allen added a comment -

          Ready for release.

          Paul Allen added a comment - Ready for release.

          Paul Allen added a comment -

          Released in 1.8.15

          Paul Allen added a comment - Released in 1.8.15

            p4paul Paul Allen
            bingshiao Bing Shiao
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: