diff --git a/Jenkinsfile b/Jenkinsfile index a083be6..65be59f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,7 +1,8 @@ pipeline { agent none environment { - CHAT = "devel@conference.mcmillian.dev" + CHAT = "devel@conference.mcmillian.dev,spacenerdmo@clacks.network" + MAIL = "morgan@mcmillian.dev" } stages { stage('Build docker image') { @@ -12,8 +13,8 @@ pipeline { steps { jabberNotify buildToChatNotifier: [$class: 'ExtraMessageOnlyBuildToChatNotifier'], extraMessage: 'Build Started', notifySuspects: true, targets: "${CHAT}" script { - docker.withRegistry('https://git.dreamfall.space/thrrgilag', 'thrrgilag-forgejo-pkg') { - def customImage = docker.build("git.dreamfall.space/thrrgilag/partybot:${TAG}") + docker.withRegistry('https://git.dreamfall.space/spacenerdmo', 'spacenerdmo-pkg-pub') { + def customImage = docker.build("git.dreamfall.space/spacenerdmo/partybot:${TAG}") customImage.push() } } @@ -24,6 +25,9 @@ pipeline { } failure { jabberNotify buildToChatNotifier: [$class: 'ExtraMessageOnlyBuildToChatNotifier'], extraMessage: 'Build Failed', notifySuspects: true, targets: "${CHAT}" + mail to: "${MAIL}", + subject: "Deploy Failed: ${currentBuild.fullDisplayName}", + body: "Something is wrong with ${env.BUILD_URL}" } } }