add prod profile
This commit is contained in:
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -3,13 +3,13 @@ pipeline {
|
||||
stages {
|
||||
stage ('Build') {
|
||||
steps {
|
||||
sh 'mvn -B -DSkipTests clean package'
|
||||
sh 'mvn -B -DSkipTests -Dspring.profiles.active=prod clean package'
|
||||
}
|
||||
}
|
||||
|
||||
stage ('Test') {
|
||||
steps {
|
||||
sh 'mvn test'
|
||||
sh 'mvn test -Dspring.profiles.active=prod'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user