-
Improvement
-
Resolution: Unresolved
-
Minor
-
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)
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