Loading gitlab-ci.yml +3 −3 Original line number Diff line number Diff line Loading @@ -11,8 +11,8 @@ stages: stage: report variables: GIT_STRATEGY: "none" NOTIFICATION_ICON: "❓" NOTIFICATION_TYPE: "finished" # NOTIFICATION_ICON: "❓" # NOTIFICATION_TYPE: "finished" NOTIFICATION_REVISION: "${CI_COMMIT_SHORT_SHA}" image: name: $CURL_IMAGE 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}](${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}\"}" \ "https://api.telegram.org/bot${TELEGRAM_TOKEN}/sendMessage" cache: [] dependencies: [] Loading Loading
gitlab-ci.yml +3 −3 Original line number Diff line number Diff line Loading @@ -11,8 +11,8 @@ stages: stage: report variables: GIT_STRATEGY: "none" NOTIFICATION_ICON: "❓" NOTIFICATION_TYPE: "finished" # NOTIFICATION_ICON: "❓" # NOTIFICATION_TYPE: "finished" NOTIFICATION_REVISION: "${CI_COMMIT_SHORT_SHA}" image: name: $CURL_IMAGE 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}](${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}\"}" \ "https://api.telegram.org/bot${TELEGRAM_TOKEN}/sendMessage" cache: [] dependencies: [] Loading