From 8d7104410738cfe0aa83d91d20154e1848314741 Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Sun, 8 Sep 2024 16:50:26 -0700 Subject: [PATCH] move build --- Jenkinsfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 2d9335b..5da1d79 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,6 +2,7 @@ pipeline { agent none environment { CHAT = "spacenerdmo@clacks.network" + MAIL = "morgan@mcmillian.dev" } stages { stage('Build docker image') { @@ -12,7 +13,7 @@ pipeline { steps { jabberNotify buildToChatNotifier: [$class: 'ExtraMessageOnlyBuildToChatNotifier'], extraMessage: 'Build Started', notifySuspects: true, targets: "${CHAT}" script { - docker.withRegistry('https://git.dreamfall.space/spacenerdmo', 'thrrgilag-forgejo-pkg') { + docker.withRegistry('https://git.dreamfall.space/spacenerdmo', 'spacenerdmo-pkg-pub') { def customImage = docker.build("git.dreamfall.space/spacenerdmo/prosody:${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}" } } }