Commit dbe6d4ea authored by Lin Jen-Shin's avatar Lin Jen-Shin

Merge branch '33391-schedule-package-and-qa-notify-failure-script-error' into 'master'

Resolve "schedule:package-and-qa:notify-failure script error"

Closes #33391

See merge request gitlab-org/gitlab!18106
parents d8f2eb01 7ef20f4a
...@@ -10,8 +10,8 @@ schedule:package-and-qa:notify-success: ...@@ -10,8 +10,8 @@ schedule:package-and-qa:notify-success:
extends: extends:
- .only-canonical-schedules - .only-canonical-schedules
- .notify - .notify
before_script: variables:
- export COMMIT_NOTES_URL="https://$CI_SERVER_HOST/$CI_PROJECT_PATH/commit/$CI_COMMIT_SHA#notes-list" COMMIT_NOTES_URL: "https://$CI_SERVER_HOST/$CI_PROJECT_PATH/commit/$CI_COMMIT_SHA#notes-list"
script: script:
- 'scripts/notify-slack qa-master ":tada: Scheduled QA against master passed! :tada: See $CI_PIPELINE_URL. For downstream pipelines, see $COMMIT_NOTES_URL" ci_passing' - 'scripts/notify-slack qa-master ":tada: Scheduled QA against master passed! :tada: See $CI_PIPELINE_URL. For downstream pipelines, see $COMMIT_NOTES_URL" ci_passing'
needs: ["schedule:package-and-qa"] needs: ["schedule:package-and-qa"]
...@@ -21,8 +21,8 @@ schedule:package-and-qa:notify-failure: ...@@ -21,8 +21,8 @@ schedule:package-and-qa:notify-failure:
extends: extends:
- .only-canonical-schedules - .only-canonical-schedules
- .notify - .notify
before_script: variables:
- export COMMIT_NOTES_URL="https://$CI_SERVER_HOST/$CI_PROJECT_PATH/commit/$CI_COMMIT_SHA#notes-list" COMMIT_NOTES_URL: "https://$CI_SERVER_HOST/$CI_PROJECT_PATH/commit/$CI_COMMIT_SHA#notes-list"
script: script:
- 'scripts/notify-slack qa-master ":skull_and_crossbones: Scheduled QA against master failed! :skull_and_crossbones: See $CI_PIPELINE_URL. For downstream pipelines, see $COMMIT_NOTES_URL" ci_failing' - 'scripts/notify-slack qa-master ":skull_and_crossbones: Scheduled QA against master failed! :skull_and_crossbones: See $CI_PIPELINE_URL. For downstream pipelines, see $COMMIT_NOTES_URL" ci_failing'
needs: ["schedule:package-and-qa"] needs: ["schedule:package-and-qa"]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment