Loading gitlab-ci.yml +2 −2 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ stages: GIT_STRATEGY: "none" # NOTIFICATION_ICON: "❓" # NOTIFICATION_TYPE: "finished" NOTIFICATION_REVISION: "${CI_COMMIT_SHORT_SHA}" # NOTIFICATION_REVISION: "$CI_COMMIT_SHORT_SHA" image: name: $CURL_IMAGE entrypoint: ["/usr/bin/env", "sh", "-c"] Loading @@ -22,7 +22,7 @@ stages: curl \ -X POST \ -H "Content-Type: application/json" \ -d "{\"chat_id\": \"${TELEGRAM_RECEPIENT}\", \"parse_mode\": \"MarkdownV2\", \"disable_web_page_preview\": \"true\", \"text\": \"${NOTIFICATION_ICON:-❓} *${CI_PROJECT_TITLE}*\nCI/CD pipeline run [was ${NOTIFICATION_TYPE:-finished}](${CI_PIPELINE_URL})\n\\\\- *revision*: ${NOTIFICATION_REVISION}\"}" \ -d "{\"chat_id\": \"${TELEGRAM_RECEPIENT}\", \"parse_mode\": \"MarkdownV2\", \"disable_web_page_preview\": \"true\", \"text\": \"${NOTIFICATION_ICON:-❓} *${CI_PROJECT_TITLE}*\nCI/CD pipeline run [was ${NOTIFICATION_TYPE:-finished}](${CI_PIPELINE_URL})\n\\\\- *revision*: ${NOTIFICATION_REVISION:-$CI_COMMIT_SHORT_SHA}\"}" \ "https://api.telegram.org/bot${TELEGRAM_TOKEN}/sendMessage" cache: [] dependencies: [] Loading Loading
gitlab-ci.yml +2 −2 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ stages: GIT_STRATEGY: "none" # NOTIFICATION_ICON: "❓" # NOTIFICATION_TYPE: "finished" NOTIFICATION_REVISION: "${CI_COMMIT_SHORT_SHA}" # NOTIFICATION_REVISION: "$CI_COMMIT_SHORT_SHA" image: name: $CURL_IMAGE entrypoint: ["/usr/bin/env", "sh", "-c"] Loading @@ -22,7 +22,7 @@ stages: curl \ -X POST \ -H "Content-Type: application/json" \ -d "{\"chat_id\": \"${TELEGRAM_RECEPIENT}\", \"parse_mode\": \"MarkdownV2\", \"disable_web_page_preview\": \"true\", \"text\": \"${NOTIFICATION_ICON:-❓} *${CI_PROJECT_TITLE}*\nCI/CD pipeline run [was ${NOTIFICATION_TYPE:-finished}](${CI_PIPELINE_URL})\n\\\\- *revision*: ${NOTIFICATION_REVISION}\"}" \ -d "{\"chat_id\": \"${TELEGRAM_RECEPIENT}\", \"parse_mode\": \"MarkdownV2\", \"disable_web_page_preview\": \"true\", \"text\": \"${NOTIFICATION_ICON:-❓} *${CI_PROJECT_TITLE}*\nCI/CD pipeline run [was ${NOTIFICATION_TYPE:-finished}](${CI_PIPELINE_URL})\n\\\\- *revision*: ${NOTIFICATION_REVISION:-$CI_COMMIT_SHORT_SHA}\"}" \ "https://api.telegram.org/bot${TELEGRAM_TOKEN}/sendMessage" cache: [] dependencies: [] Loading