-
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
[JENKINS-71603] Please add commit message to the return array from checking out code
Description |
Original:
It is really stupid that we have to install p4 on the jenkins nodes to get the commit message from the changelist number
it should be return as part of the array from the groovy call P4_DATA = p4sync charset: 'none', etc printing the value of P4_DATA should include the commit message it is really stupid to force all nodes to have p4 installed on the node |
New:
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 |