EpicKnarvik97
22e0e6a55e
All checks were successful
EpicKnarvik97/DynmapCitizens/pipeline/head This commit looks good
33 lines
809 B
Groovy
33 lines
809 B
Groovy
pipeline {
|
|
agent any
|
|
tools {
|
|
jdk 'JDK17'
|
|
}
|
|
stages {
|
|
stage('Build') {
|
|
steps {
|
|
echo 'Building...'
|
|
sh 'mvn clean & mvn validate & mvn compile'
|
|
}
|
|
}
|
|
stage('Test') {
|
|
steps {
|
|
echo 'Testing...'
|
|
sh 'mvn test'
|
|
}
|
|
}
|
|
stage('Verify') {
|
|
steps {
|
|
echo 'Verifying...'
|
|
sh 'mvn verify -Dmaven.test.skip=true'
|
|
}
|
|
}
|
|
stage('Deploy') {
|
|
steps {
|
|
echo 'Deploying...'
|
|
sh 'mvn deploy -Dmaven.install.skip=true -Dmaven.test.skip=true'
|
|
archiveArtifacts artifacts: '**/target/*.jar', fingerprint: true
|
|
}
|
|
}
|
|
}
|
|
} |