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

Perforce plugin - sync to specific multiple changesets

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • p4-plugin
    • None

      I want to pull changes for non-continuous changelist numbers from perforce. If I include the values as a comma separated list e.g. CH1, CH5, CH7 in the P4Label field of the perforce plugin, all changes in between CH1 and CH5 and CH5 and CH7 are synced. There is an option in perforce to sync to specific changelist using the "@=" option. Specifying CH1 @=CH5 @=CH7 generates the command p4 sync "//workspace-name/...@CH1 @=CH5 @=CH7". The double quotes is creating issues as the command p4 -c workspace-name sync @CH1 @=CH5 @CH7 from the command line works. This is causing issues to make a build on specific changesets instead of a range between changesets

          [JENKINS-21972] Perforce plugin - sync to specific multiple changesets

          Rob Petti added a comment -

          I won't be implementing this, because I believe it to be bad practice. You should really be using branches or streams instead. I will leave it open in case someone else wants to add it, however.

          Rob Petti added a comment - I won't be implementing this, because I believe it to be bad practice. You should really be using branches or streams instead. I will leave it open in case someone else wants to add it, however.

            Unassigned Unassigned
            anandp504 Anand Parthasarathy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: