Details
Description
I have a job that creates a Perforce label after a successful build. I want Jenkins to sync my workspace to the most current label before successive builds. I saw the P4 label option under the advanced tab that looks promising but I don't know what parameter to use or how. Any suggestions? After a successful build is it possible to set the newly created label as a parameter for the next build?
I don't think what you are asking for is possible. You will need to write your own sync script. When you specify a label in the plugin it syncs to that and immediately starts building. You can't configure it to skip changes, and that's not how perforce works in general.