testing variable names

This commit is contained in:
hardy
2022-01-17 22:49:00 +01:00
parent e62844bfef
commit 064ed744b3
+2 -2
View File
@@ -59,8 +59,8 @@ pipeline {
booleanParam(name: 'eNB_mergeRequest', value: Boolean.valueOf(ALLOW_MERGE)) booleanParam(name: 'eNB_mergeRequest', value: Boolean.valueOf(ALLOW_MERGE))
] ]
jobResult = jobStatus.getResult() jobResult = jobStatus.getResult()
def build_url = jobStatus.getBuildVariables()["BUILD_URL"]; build_url = jobStatus.getAbsoluteUrl()
def build_id = jobStatus.getBuildVariables()["BUILD_ID"]; build_id = jobStatus.getNumber().toString()
GitPostArgs += jobName + ' ' + build_url + ' ' + build_id + ' ' + jobResult GitPostArgs += jobName + ' ' + build_url + ' ' + build_id + ' ' + jobResult
echo GitPostArgs echo GitPostArgs