From 1018335eae5984827cb6da8c0301e95130becf95 Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Thu, 2 Mar 2023 06:02:10 -0800 Subject: [PATCH] disabled mattermost notifications --- Jenkinsfile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index eb051b1..47207f8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,7 +4,7 @@ pipeline { stage('Build docker image') { agent { label 'docker-build' } steps { - mattermostSend "Docker build started - ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)" + // mattermostSend "Docker build started - ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)" script { docker.withRegistry('https://git.dreamfall.space/thrrgilag', 'docker-gitea-creds') { def customImage = docker.build('git.dreamfall.space/thrrgilag/kiln:latest') @@ -12,14 +12,14 @@ pipeline { } } } - post { - success { - mattermostSend color: "good", message: "Docker build success - ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)" - } - failure { - mattermostSend color: "danger", message: "Docker build failure - ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)" - } - } + // post { + // success { + // mattermostSend color: "good", message: "Docker build success - ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)" + // } + // failure { + // mattermostSend color: "danger", message: "Docker build failure - ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)" + // } + // } } } }