Simplifies building steps
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good

This commit is contained in:
Kristian Knarvik 2020-08-17 12:10:42 +02:00
parent c721aef2a6
commit 1d49229b87

4
Jenkinsfile vendored
View File

@ -10,13 +10,13 @@ pipeline {
stage('Test') { stage('Test') {
steps { steps {
echo 'Testing...' echo 'Testing...'
sh 'mvn clean & mvn test' sh 'mvn test'
} }
} }
stage('Deploy') { stage('Deploy') {
steps { steps {
echo 'Deploying...' echo 'Deploying...'
sh 'mvn clean & mvn compile & mvn package & mvn verify & mvn install' sh 'mvn package & mvn verify'
archiveArtifacts artifacts: '**/target/*.jar', fingerprint: true archiveArtifacts artifacts: '**/target/*.jar', fingerprint: true
} }
} }