diff --git a/Jenkinsfile b/Jenkinsfile index 0161ab8..2e16cba 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -16,10 +16,16 @@ pipeline { sh 'mvn test' } } + stage('Verify') { + steps { + echo 'Verifying...' + sh 'mvn verify -Dmaven.test.skip=true' + } + } stage('Deploy') { steps { echo 'Deploying...' - sh 'mvn verify -Dmaven.test.skip=true & mvn deploy' + sh 'mvn deploy -Dmaven.install.skip=true -Dmaven.test.skip=true' archiveArtifacts artifacts: '**/target/*.jar', fingerprint: true } } diff --git a/pom.xml b/pom.xml index 7c4e29b..d5c035c 100644 --- a/pom.xml +++ b/pom.xml @@ -20,7 +20,7 @@ - gitea + knarcraft-repo https://git.knarcraft.net/api/packages/EpicKnarvik97/maven @@ -40,6 +40,16 @@ https://repo.papermc.io/repository/maven-public/ + + + knarcraft-repo + https://git.knarcraft.net/api/packages/EpicKnarvik97/maven + + + knarcraft-repo + https://git.knarcraft.net/api/packages/EpicKnarvik97/maven + +