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

Multibranch Helix Branches: support exclusionary mapping?

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          wbasupm W Basu Perforce added a comment -

          Would you look into it please

          Show
          wbasupm W Basu Perforce added a comment - Would you look into it please
          Hide
          p4karl Karl Wirth added a comment -

          Hi Bing Shiao. 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

          Show
          p4karl Karl Wirth added a comment - Hi Bing Shiao . 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
          Hide
          douglasawh Doug Whitfield added a comment -

          Karl Wirth Dead link on "Important Recommendations

          Show
          douglasawh Doug Whitfield added a comment - Karl Wirth Dead link on "Important Recommendations
          Show
          joel_brown Joel Brown added a comment - Important recommendations is now at https://github.com/jenkinsci/p4-plugin/blob/master/docs/WORKFLOW.md#important-recommendations-1
          Hide
          p4paul Paul Allen added a comment -

          Ready for release.

          Show
          p4paul Paul Allen added a comment - Ready for release.
          Hide
          p4paul Paul Allen added a comment -

          Released in 1.8.15

          Show
          p4paul Paul Allen added a comment - Released in 1.8.15

            People

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

              Dates

              • Created:
                Updated:
                Resolved: