From 506c5efa683720a815b1c5d540a24c45b1de4e2d Mon Sep 17 00:00:00 2001
From: Chris Pomeroy <cpomeroy@zombie-surface.localdomain>
Date: Fri, 19 May 2023 18:42:58 +0000
Subject: [PATCH] Removing test build info

---
 Jenkinsfile |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 2d58e3e..60d4c0d 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,5 +1,6 @@
 def customImage
 def discordUrl = "https://discordapp.com/api/webhooks/764667082272145418/vorf2JdFG47WAmQP3yZhgHH12wW_qUXG0bS0SG8INLYVwU0HcDFajq9doaDgi_hnI00-"
+def scmvars
 
 
 pipeline{
@@ -8,7 +9,6 @@
     }
     environment{
         def BUILDDATE = sh(script: "echo `date --rfc-3339=date`", returnStdout: true).trim()
-        def IMAGE_TAG = "${env.BRANCH_NAME != 'master' ? env.BRANCH_NAME : latest }"
     }
     stages{
         stage ('Checkout source'){
@@ -35,12 +35,13 @@
         }
         stage('Push Image'){
            steps{
-               script{
+                input 'Proceed with push'
+                script{
                     docker.withRegistry('https://dev-reg.darkurthe.net'){
                         customImage.push()
-                        customImage.push("$env.IMAGE_TAG")
+                        customImage.push("latest")
                     }
-               }
+                }
             }
             post{
                 failure {

--
Gitblit v1.10.0