EpicKnarvik97
f125f738d2
All checks were successful
EpicKnarvik97/Rogue101/pipeline/head This commit looks good
27 lines
627 B
Groovy
27 lines
627 B
Groovy
pipeline {
|
|
agent any
|
|
tools {
|
|
jdk 'JDK11'
|
|
}
|
|
stages {
|
|
stage('Build') {
|
|
steps {
|
|
echo 'Building...'
|
|
sh 'mvn clean & mvn validate & mvn compile'
|
|
}
|
|
}
|
|
stage('Test') {
|
|
steps {
|
|
echo 'Testing...'
|
|
sh 'mvn test'
|
|
}
|
|
}
|
|
stage('Deploy') {
|
|
steps {
|
|
echo 'Deploying...'
|
|
sh 'mvn package & mvn verify & mvn install'
|
|
archiveArtifacts artifacts: '**/target/*.jar', fingerprint: true
|
|
}
|
|
}
|
|
}
|
|
} |