What is the Jenkins variable containing the Perforce changelist that triggered the build?

Viewed 10729

I have a Jenkins job set to poll Perforce for changes and build when a changelist is submitted.

I'd like to deploy the build artifacts to a folder which contains the changelist as part of the path - e.g. D:\JenkinsBuilds\$JOB_NAME\$PERFORCE_CHANGELIST\

What is the Jenkins variable containing the Perforce changelist number that triggered the build?

1 Answers
Related