From c7098685dd6a598665c03ffb6a184bcd1628b12d Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Sun, 8 Sep 2024 11:32:08 -0700 Subject: [PATCH] move to different build setup --- Jenkinsfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 24af065..251eca4 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,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/jenkins-mercurial:${TAG}") + docker.withRegistry('https://git.dreamfall.space/spacenerdmo', 'spacenerdmo-pkg-pub') { + def customImage = docker.build("git.dreamfall.space/spacenerdmo/jenkins-mercurial:${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}" } } }