fix
parent
dcd357c6e0
commit
e416a84bf7
|
@ -24,8 +24,11 @@ pipeline {
|
||||||
}
|
}
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
|
sh "rm -f src/main/resources/application.yml"
|
||||||
withCredentials([file(credentialsId: 'SERVERMONITORBOT_APPLICATION_YAML', variable: 'application_yaml')]) {
|
withCredentials([file(credentialsId: 'SERVERMONITORBOT_APPLICATION_YAML', variable: 'application_yaml')]) {
|
||||||
sh "cp -f \$application_yaml src/main/resources/application.yml"
|
sh "cp -f \$application_yaml src/main/resources/application.yml"
|
||||||
|
sh "ls -lh"
|
||||||
|
sh "ls -lh src/main/resources"
|
||||||
}
|
}
|
||||||
sh 'mvn -B -DskipTests -X clean package spring-boot:repackage'
|
sh 'mvn -B -DskipTests -X clean package spring-boot:repackage'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue