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?
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Assignee | Rob Petti [ rpetti ] |
Assignee | Rob Petti [ rpetti ] |
Assignee | Rob Petti [ rpetti ] |
Workflow | JNJira [ 155491 ] | JNJira + In-Review [ 179092 ] |
Component/s | p4-plugin [ 19224 ] | |
Component/s | perforce-plugin [ 15506 ] |
Not really. The name of the label simply isn't available to downsteam build trigger actions. Just pass the changeset number downstream instead of using the label.