CI/CD fix
Some checks failed
Hedgehog_server_CI/ServerMonitorBot/pipeline/head There was a failure building this commit
Hedgehog_server_CD/ServerMonitorBot/pipeline/head There was a failure building this commit

This commit is contained in:
2023-11-20 22:02:23 +03:00
parent 204dbc5f73
commit 94485ab9d2
3 changed files with 8 additions and 6 deletions

View File

@@ -8,7 +8,10 @@ pipeline {
stages {
stage('Build') {
steps {
sh 'mvn -B -DskipTests -X clean package spring-boot:repackage'
configFileProvider(
[configFile(fileId: 'maven-settings', variable: 'SETTINGS_XML_GLOBAL')]) {
sh 'mvn -B -DskipTests -X -s $MAVEN_SETTINGS clean package spring-boot:repackage'
}
}
}
}