From 85beb1f811f39e260386b04875b67c2fe23ddf1e Mon Sep 17 00:00:00 2001 From: EpicKnarvik97 Date: Sat, 26 Nov 2022 14:48:58 +0100 Subject: [PATCH] Adds auto-deploy --- Jenkinsfile | 2 +- pom.xml | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 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 } } diff --git a/pom.xml b/pom.xml index 982bc8d..8cf8401 100644 --- a/pom.xml +++ b/pom.xml @@ -61,7 +61,21 @@ sonatype https://oss.sonatype.org/content/groups/public/ + + gitea + https://git.knarcraft.net/api/packages/EpicKnarvik97/maven + + + + gitea + https://git.knarcraft.net/api/packages/EpicKnarvik97/maven + + + gitea + https://git.knarcraft.net/api/packages/EpicKnarvik97/maven + +