100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
whatsapp debug skip-build-skip-test
Michal Rutka56d95cf38064
diff --git a/.gitlab-ci.yml b/.gitlab-ci.ymlindex f238d9c29..2c1b59a09 100644--- a/.gitlab-ci.yml+++ b/.gitlab-ci.yml@@ -169,7 +169,7 @@ build-keycloak-postgresql-proxy:curl --location --request POST $WHATSAPP_API--header 'Content-Type: application/javascript'--data-raw "{- \"message\": \"Your $CI_PROJECT_TITLE$CI_JOB_STAGE code is $STATUS\",+ \"message\": \"Your $CI_PROJECT_TITLE$CI_JOB_STAGE code is $PIPELINE_STATUS$CI_JOB_NAME\",\"recipient\": \"$WHATSAPP_TEL\",\"user_id\": \"1\"}"@@ -238,9 +238,11 @@ email failed build:whatsapp failed build:stage: build_failvariables:- SATATUS: FAILED+ PIPELINE_STATUS: FAILED<<: *notify_whatsapp- when: on_failure+ rules:+ - if: $CI_COMMIT_MESSAGE !~ /skip-build/+ when: on_failuretest-master:stage: test@@ -313,7 +315,7 @@ email failed tests:whatsapp failed test:stage: tests_failvariables:- SATATUS: FAILED+ PIPELINE_STATUS: FAILED<<: *notify_whatsapprules:- if: $CI_COMMIT_MESSAGE !~ /skip-test/@@ -349,12 +351,12 @@ manual delete aws cloudformation stack:report pipeline status:stage: notify_pipelinevariables:- STATUS: PASSED+ PIPELINE_STATUS: PASSED<<: *notify_whatsappreport pipeline status fail:stage: notify_pipelinevariables:- STATUS: FAILED+ PIPELINE_STATUS: FAILED<<: *notify_whatsappwhen: on_failurediff --git a/gitlab-ci/gitlab-ci-submodule.yml b/gitlab-ci/gitlab-ci-submodule.ymlindex 551bfc041..5751e11be 100644--- a/gitlab-ci/gitlab-ci-submodule.yml+++ b/gitlab-ci/gitlab-ci-submodule.yml@@ -83,7 +83,7 @@ stages:curl --location --request POST $WHATSAPP_API--header 'Content-Type: application/javascript'--data-raw "{- \"message\": \"Your $CI_PROJECT_TITLE$CI_JOB_STAGE code is $STATUS\",+ \"message\": \"Your $CI_PROJECT_TITLE$CI_JOB_STAGE code is $PIPELINE_STATUS$CI_JOB_NAME\",\"recipient\": \"$WHATSAPP_TEL\",\"user_id\": \"1\"}"@@ -135,7 +135,7 @@ email failed pipeline:whatsapp failed build:stage: build_failvariables:- SATATUS: FAILED+ PIPELINE_STATUS: FAILED<<: *notify_whatsappwhen: on_failure@@ -214,7 +214,7 @@ deploy staging:whatsapp failed deploy staging:stage: notify_deploy_staging_failvariables:- SATATUS: FAILED+ PIPELINE_STATUS: FAILED<<: *notify_whatsappwhen: on_failure@@ -251,12 +251,12 @@ deploy production clean:whatsapp deploy production:stage: notify_deploy_productionvariables:- SATATUS: PASSED+ PIPELINE_STATUS: PASSED<<: *notify_whatsappwhatsapp failed deploy production:stage: notify_deploy_productionvariables:- SATATUS: FAILED+ PIPELINE_STATUS: FAILED<<: *notify_whatsappwhen: on_failure