-
New Feature
-
Resolution: Unresolved
-
Minor
-
None
It is really stupid that we have to install p4 on the jenkins nodes to get the commit message from the changelist number
Comment message should be return as part of the array from the groovy call
example
P4_DATA = p4sync (
charset: 'none',
credential: 'jenkins,
format: "jenkins-${NODE_NAME}-${JOB_NAME}",
populate: autoClean(
delete: true,
modtime: true,
parallel: [enable: false, minbytes: '1024', minfiles: '1', threads: '12'],
pin: '',
quiet: true,
replace: true,
tidy: false
),
source: streamSource('//foo/config')
)
P4_DATA.P4_COMMIT_MESSAGE. or what every variable name you want it should contain the commit message as part of the return array