fix
Hedgehog_server_CI/ServerMonitorBot/pipeline/head There was a failure building this commit Details
Hedgehog_server_CD/ServerMonitorBot/pipeline/head This commit looks good Details

pull/31/head
L_DelOff 2023-11-21 23:21:59 +03:00
parent 1a1fca9325
commit 180e1e6be4
1 changed files with 0 additions and 3 deletions

View File

@ -24,11 +24,8 @@ 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'
} }