Minecraft-Server-Launcher/Jenkinsfile

24 lines
575 B
Plaintext
Raw Normal View History

pipeline {
agent any
stages {
stage('Build') {
steps {
echo 'Building...'
sh 'mvn clean & mvn validate & mvn compile'
}
}
stage('Test') {
steps {
echo 'Testing...'
2020-08-17 12:10:42 +02:00
sh 'mvn test'
}
}
stage('Deploy') {
steps {
echo 'Deploying...'
2020-08-17 12:10:42 +02:00
sh 'mvn package & mvn verify'
archiveArtifacts artifacts: '**/target/*.jar', fingerprint: true
}
}
}
}