Create Jenkinsfile

This commit is contained in:
Francisco Cruz 2023-10-26 19:55:19 -06:00 committed by GitHub
parent 923e2b7aa3
commit c3aa4d20ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

23
Jenkinsfile vendored Normal file
View file

@ -0,0 +1,23 @@
pipeline {
agent none
stages {
stage('Build') {
agent {
docker { image 'maven:3.6.3-openjdk-11-slim' }
}
steps {
sh 'mvn package -Dmaven.test.skip'
}
post{
success {
archiveArtifacts artifacts: 'target/*.jar', fingerprint: true, onlyIfSuccessful: true
}
}
}
}
}