Creation of Jenkinsfile

This commit is contained in:
Mayyzze 2023-09-19 17:53:49 +02:00
parent 12b6126251
commit d66c007070

18
Jenkinsfile vendored Normal file
View file

@ -0,0 +1,18 @@
pipeline {
agent any
options {
skipStagesAfterUnstable()
}
stages {
stage('Build') {
steps {
sh './mvnw package'
}
}
stage('Deploy') {
steps {
sh 'java -jar target/*.jar'
}
}
}
}