Skip to content

Commit b78172f

Browse files
authored
add env_id to archive pipeline (#527)
Signed-off-by: Leo Christy Jesuraj <[email protected]>
1 parent c4c61f5 commit b78172f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.one-pipeline-archive.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ setup:
2323
curl -X POST -H 'Content-type: application/json' --data '{"text":"<'$user'> Archive operation failure see below "}' $(get_env slack_web_hook_url)
2424
echo " "
2525
done
26-
pipeline_url="https://cloud.ibm.com/devops/pipelines/tekton/${PIPELINE_ID}/runs/${PIPELINE_RUN_ID}"
26+
pipeline_url="https://cloud.ibm.com/devops/pipelines/tekton/${PIPELINE_ID}/runs/${PIPELINE_RUN_ID}?env_id=ibm:yp:us-south"
2727
curl -X POST -H 'Content-type: application/json' --data '{"text":"The archive operation for '$REPO' has failed."}' $(get_env slack_web_hook_url) </dev/null
2828
curl -X POST -H 'Content-type: application/json' --data '{"text":"Failing pipeline: '$pipeline_url'"}' $(get_env slack_web_hook_url) </dev/null
2929
curl -X POST -H 'Content-type: application/json' --data '{"text":"Destination repository: '$ARCHIVE_DESTINATION_REPO'"}' $(get_env slack_web_hook_url) </dev/null

0 commit comments

Comments
 (0)