spring-petclinic/Jenkinsfile

27 lines
329 B
Text
Raw Normal View History

2025-02-04 10:20:36 +00:00
pipeline {
agent any
tools {
maven 'm3'
}
stages {
stage ('Build') {
steps {
2025-02-04 10:26:12 +00:00
sh './mvnw -B -DskipTests clean package'
2025-02-04 10:20:36 +00:00
}
}
stage ('Test') {
steps {
2025-02-04 10:26:12 +00:00
sh './mvnw test'
2025-02-04 10:20:36 +00:00
}
}
stage ('Deploy') {
steps {
2025-02-04 10:44:41 +00:00
sh 'echo "hello $USER"'
2025-02-04 10:20:36 +00:00
}
}
2025-02-04 10:27:40 +00:00
}
2025-02-04 10:20:36 +00:00
}