Jenkinsfile changes
gitea/salix/test There was a failure building this commit Details

This commit is contained in:
Juan Ferrer 2019-12-23 16:20:05 +01:00
parent d79f6ec4f4
commit 50aa98ee34
1 changed files with 6 additions and 2 deletions

8
Jenkinsfile vendored
View File

@ -38,14 +38,18 @@ pipeline {
configFile(fileId: "salix.properties",
variable: 'PROPS_FILE')
]) {
props = readProperties file: "${env.PROPS_FILE}"
script {
props = readProperties file: "${env.PROPS_FILE}"
}
}
configFileProvider([
configFile(fileId: "salix.${env.NODE_ENV}.properties",
variable: 'LOCAL_PROPS_FILE')
]) {
props = readProperties defaults: props, file: "${env.LOCAL_PROPS_FILE}"
script {
props = readProperties defaults: props, file: "${env.LOCAL_PROPS_FILE}"
}
}
configFileProvider([