Simplifies building steps
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
This commit is contained in:
parent
c721aef2a6
commit
1d49229b87
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user