Update Jenkinsfile

This commit is contained in:
Hambrsoom Baboyan 2020-03-14 23:02:23 -04:00 committed by GitHub
parent 19fd2e3d13
commit 93889a18f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

7
Jenkinsfile vendored
View file

@ -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'
}
}
}