From d1c549fd20068456dc8bcb034f5d3b23360f8ca9 Mon Sep 17 00:00:00 2001 From: EpicKnarvik97 Date: Sat, 26 Nov 2022 14:51:52 +0100 Subject: [PATCH] Adds auto deploy --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 5a47c8f..0161ab8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -19,7 +19,7 @@ pipeline { stage('Deploy') { steps { echo 'Deploying...' - sh 'mvn verify -Dmaven.test.skip=true' + sh 'mvn verify -Dmaven.test.skip=true & mvn deploy' archiveArtifacts artifacts: '**/target/*.jar', fingerprint: true } }