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

Option for viewing changes only without updating perfroce server

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

      I'm using Jenkins latest p4 plugin with is 1.3.7, I've been looking for the population options but i can't find a way to check the changes only without updating the havefiles.

      When i select "Preview check only" this issues command p4 sync -k, and that command actually makes perforce think that I've updated my client, so when i try to sync the client in the build scripts it doesn't sync anything. I'd like to have another option in p4 plugin that would do "p4 sync –n" (i.e. just view the changes only, instead of updating the server as well)

          [JENKINS-33880] Option for viewing changes only without updating perfroce server

          Phil McArdle added a comment -

          I don't know what your use case is, and I know this isn't a fix, but I worked around this by having a separate poll job apart from any of my 'worker' jobs with its own workspace, that triggered other jobs as appropriate.

          (I also needed this at the time because if I built one of the 'workers' at an older CL when polling was on the same workspace, it would immediately trigger polling - I don't know if this is still the case)

          Phil

          Phil McArdle added a comment - I don't know what your use case is, and I know this isn't a fix, but I worked around this by having a separate poll job apart from any of my 'worker' jobs with its own workspace, that triggered other jobs as appropriate. (I also needed this at the time because if I built one of the 'workers' at an older CL when polling was on the same workspace, it would immediately trigger polling - I don't know if this is still the case) Phil

            Unassigned Unassigned
            dtranter Dan Tranter
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: