-
Bug
-
Resolution: Fixed
-
Critical
-
None
Hi,
I use the REST api's (json and XML) to process our Jenkins builds.
The normal perforce plugin provides the following information in the changeSet list.
"changeSet" : {
"items" : [
{
"affectedPaths" : [
"ma_tools/bin/stream_tester/cmd_stream_tester.exe",
"ma_tools/bin/stream_tester/jenkins.dll",
"ma_tools/bin/stream_tester/stream_tester.exe",
"ma_tools/metrics/REST.py",
"ma_tools/metrics/stat_upload.py"
],
"author" :
,
"commitId" : null,
"msg" : "Copying //MA_SW/ci_tools to tools (//MA_SW/tools)",
"timestamp" : -1,
"changeNumber" : "71891",
"changeTime" : "2014-11-10 17:54:01"
},
When i do the same REST calls on jobs using the p4 plugin some very important fields are missing.
"changeSet" : {
"items" : [
{
"affectedPaths" : null,
"author" :
,
"commitId" : null,
"msg" : "U_MA_TLS-194 : Add option to email stream owners\nU_MA_TLS-188: Add option to create workspace per job\nU_MA_TLS-182: Fix bug with running status after job has completed\n",
"timestamp" : -1
}
],
The important fields :
"changeNumber" : "71891",
"changeTime" : "2014-11-10 17:54:01"
are missing.
I have also noted that the affectedPaths is also null but this is of a lower priority than the changeNumber and changeTime.
ok have a login on https://swarm.workshop.perforce.com/projects/p4-jenkins/ how do i get a shelve request in ?