add application.yml
parent
8b8833cd2b
commit
431e777988
|
@ -24,6 +24,9 @@ pipeline {
|
|||
}
|
||||
stage('Build') {
|
||||
steps {
|
||||
withCredentials([file(credentialsId: 'SERVERMONITORBOT_APPLICATION_YAML', variable: 'application_yaml')]) {
|
||||
sh "cp \$application_yaml /src/main/resources/application.yml"
|
||||
}
|
||||
sh 'mvn -B -DskipTests -X clean package spring-boot:repackage'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue