Commit 3d138fc2 authored by Dmitriy Safronov's avatar Dmitriy Safronov
Browse files

defaults

parent c1779ecd
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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
@@ -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: []