mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 14:55:51 +00:00
Update Jenkinsfile
This commit is contained in:
parent
19fd2e3d13
commit
93889a18f1
1 changed files with 4 additions and 3 deletions
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
|
@ -4,25 +4,26 @@ pipeline {
|
|||
stage('Build') {
|
||||
steps {
|
||||
echo 'Building The project'
|
||||
bat './mvnw package'
|
||||
bat './mvnw clean'
|
||||
}
|
||||
}
|
||||
stage('Test'){
|
||||
steps {
|
||||
echo 'Running the test in the project'
|
||||
bat 'mvn clean test'
|
||||
bat './mvnw test'
|
||||
}
|
||||
}
|
||||
stage('package'){
|
||||
steps{
|
||||
echo 'Packaging stage has been executed'
|
||||
bat './mvnw package'
|
||||
}
|
||||
|
||||
}
|
||||
stage('Deploy') {
|
||||
steps {
|
||||
echo 'Deploying stage has been executed'
|
||||
bat 'deploy production'
|
||||
bat './mvnw deploy'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue