Fix string formatting in Jenkinsfile
The string formatting in the Jenkinsfile during the post of the checks was broken. Groovy did not accept the operator in a hanging line. Change-Id: Ica7e6e9dedde31ca90888e4288975f4a1e6e7a07
This commit is contained in:
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -98,8 +98,8 @@ def postCheck(check) {
|
||||
contentType: 'APPLICATION_JSON', requestBody: json,
|
||||
validResponseCodes: '200', url: gerritPostUrl)
|
||||
echo "----------------------------------------------------------------------------"
|
||||
echo "Gerrit Check: ${check.uuid}=" + check.build.result + " to change "
|
||||
+ check.changeNum + "/" + check.sha1
|
||||
echo "Gerrit Check: ${check.uuid}=" + check.build.result + " to change " +
|
||||
check.changeNum + "/" + check.sha1
|
||||
echo "----------------------------------------------------------------------------"
|
||||
} catch(Exception e) {
|
||||
echo "ERROR> Failed to post check results to Gerrit: ${e}"
|
||||
|
||||
Reference in New Issue
Block a user