RTC Post build delivery gets statusCode=400 error on Jenkins
The build definition is set to have Post-build Delivery when it builds successfully. Build engine is Jenkins and I got following error from Jenkins'
console output
(when build succeeds). It won't trigger post build deliver when build fails:
10:15:06 FATAL: POST request to https://example.com/jazz/resource/virtual/build/result/_GI3DokOEe6v_nfZ1GCQ/participant returned statusCode=400 10:15:06 Setting the build status to FAILURE. 10:15:06 Post build deliver failed for build result Queued in target for engine Jenkins engine 2(_GI3DokOEe6v_nfZ1GCQ). 10:15:06 Build step 'RTC Post Build Deliver ' changed build result to FAILURE 10:15:06 Recording fingerprints 10:15:06 Finished: FAILURE</pre>
And the changes are not delivered.
The version number of RTC Eclipse: 6.0.4
Jenkins version: 2.150.1
Team Concert Plugin for Jenkins: 1.2.0.5
The build is scheduled on a fixed time interval.
Any help is appreciated.
The following message may be more revealing:
{"errorMessage":"CRJAZ0024I An error occurred retrieving from the location "virtual/build/result/_ekxKsDmDEem6v_nfZn1GCQ/participant". See the following exception message: Resource not found: build/result/_ekxKsDmDEem6v_nfZn1GCQ/participant ","errorClass":"com.ibm.team.repository.common.ItemNotFoundException","errorCode":404}
</pre>
<span style=", Helvetica, sans-serif; Helvetica Neue" background-color: rgb(255, 255, 255); color: rgb(36, 39, 41); font-family: Arial, " font-size: 15px;"> </span>
Comments
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Feb 26 '19, 10:17 a.m.Who would post anything to https://example.com/jazz/ ?
Zichuan Zou
Feb 26 '19, 11:10 a.m.It is posting to an internal link, I replaced it with "https://example.com/jazz"