add application.yml
Hedgehog_server_CD/ServerMonitorBot/pipeline/head There was a failure building this commit Details
Hedgehog_server_CI/ServerMonitorBot/pipeline/head There was a failure building this commit Details

pull/31/head
L_DelOff 2023-11-21 22:15:43 +03:00
parent 8b8833cd2b
commit 431e777988
1 changed files with 3 additions and 0 deletions

View File

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