Issue Type: Bug Bug
Assignee: Nicolas De Loof
Components: build-flow, perforce
Created: 19/Nov/13 12:56 AM
Description:

I am trying to use build.setDisplayName(XXX) to change the name of each build to "#BN-CPN" where BN and PN are the build number and perforce changelist associated with the build. I was able to figure out that the build number is build.number, but I have been unable to extract the Perforce changelist number. Most projects expose the changelist in the environment as P4_CHANGELIST, but I noticed that the environment the build-flow job runs in is very limited.

What is the correct way to get the Perforce changelist number? As a workaround I execute a perl script to figure it out, but I'm assuming there's a better way.

Project: Jenkins
Priority: Minor Minor
Reporter: Michael Rose
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to