Skip to content
Snippets Groups Projects
Commit 3d138fc2 authored by Dmitriy Safronov's avatar Dmitriy Safronov
Browse files

defaults

parent c1779ecd
No related branches found
No related tags found
No related merge requests found
...@@ -11,8 +11,8 @@ stages: ...@@ -11,8 +11,8 @@ stages:
stage: report stage: report
variables: variables:
GIT_STRATEGY: "none" GIT_STRATEGY: "none"
NOTIFICATION_ICON: "❓" # NOTIFICATION_ICON: "❓"
NOTIFICATION_TYPE: "finished" # NOTIFICATION_TYPE: "finished"
NOTIFICATION_REVISION: "${CI_COMMIT_SHORT_SHA}" NOTIFICATION_REVISION: "${CI_COMMIT_SHORT_SHA}"
image: image:
name: $CURL_IMAGE name: $CURL_IMAGE
...@@ -22,7 +22,7 @@ stages: ...@@ -22,7 +22,7 @@ stages:
curl \ curl \
-X POST \ -X POST \
-H "Content-Type: application/json" \ -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" "https://api.telegram.org/bot${TELEGRAM_TOKEN}/sendMessage"
cache: [] cache: []
dependencies: [] dependencies: []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment