Skip to content

Commit 00e800b

Browse files
print debugging for posting results to repo
Signed-off-by: epic-cicd-jenkins <ecc.platform@noaa.gov>
1 parent fe9a128 commit 00e800b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.cicd/Jenkinsfile

+4-1
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,12 @@ def generateStage(nodeLabel) {
7373
sh '''
7474
export machine=${NODE_NAME}
7575
export CHANGE_ID=${CHANGE_ID}
76-
echo "Testing concluded...removing labels for $machine from $GIT_URL"
7776
GIT_OWNER=$(echo $GIT_URL | cut -d '/' -f4)
7877
GIT_REPO_NAME=$(echo $GIT_URL | cut -d '/' -f5 | cut -d '.' -f1)
78+
set +x
79+
80+
echo "Testing concluded...removing labels for $machine from $GIT_URL"
81+
echo "https://api.github.com/repos/${GIT_OWNER}/${GIT_REPO_NAME}/issues/${CHANGE_ID}/labels /{$machine-RT,$machine-BL}"
7982
#curl --silent -X DELETE -H "Accept: application/vnd.github.v3+json" -H "Authorization: Bearer ${GITHUB_TOKEN}" https://api.github.com/repos/${GIT_OWNER}/${GIT_REPO_NAME}/issues/${CHANGE_ID}/labels/{$machine-RT,$machine-BL}
8083
'''
8184
currentBuild.result = 'FAILURE'

0 commit comments

Comments
 (0)