Adds auto-deploy
All checks were successful
EpicKnarvik97/KnarLib/pipeline/head This commit looks good

This commit is contained in:
2022-11-26 14:48:58 +01:00
parent dd827d4191
commit 85beb1f811
2 changed files with 15 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -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
}
}