Adding jenkinsfile

This commit is contained in:
work 2025-02-04 11:20:36 +01:00
parent 182576ff00
commit 4c45124fd3

25
Jenkinsfile vendored Normal file
View file

@ -0,0 +1,25 @@
pipeline {
agent any
tools {
maven 'm3'
}
stages {
stage ('Build') {
steps {
sh './mvnw -B -DskipTests clean package
}
}
stage ('Test') {
steps {
sh './mvnw test
}
}
stage ('Deploy') {
steps {
sh 'java -jar ./target/*.jar'
}
}
}