summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Draebing <thomas.draebing@sap.com>2019-10-17 13:28:45 +0200
committerThomas Draebing <thomas.draebing@sap.com>2019-10-17 18:37:49 +0200
commit5af8dad0efa945ebe746e59dc90004506de5c5d9 (patch)
tree87769ea6cb3d813272735d0498256eb4aa101bd6
parent70501f4531f67a465f7a56065690fb6defbb40bd (diff)
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
-rw-r--r--Jenkinsfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index d6ff0df099..260a61c402 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -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}"