Jenkinsfile fixes
gitea/salix/test There was a failure building this commit
Details
gitea/salix/test There was a failure building this commit
Details
This commit is contained in:
parent
337a8ab944
commit
e2830badb9
|
@ -7,6 +7,7 @@ pipeline {
|
|||
}
|
||||
environment {
|
||||
PROJECT_NAME = 'salix'
|
||||
STACK_NAME = "${env.PROJECT_NAME}-${env.BRANCH_NAME}"
|
||||
}
|
||||
stages {
|
||||
stage('Checkout') {
|
||||
|
@ -36,16 +37,14 @@ pipeline {
|
|||
configFile(fileId: "salix.env",
|
||||
variable: 'SALIX_ENV')
|
||||
]) {
|
||||
sh 'cp "$SALIX_ENV" salix.env'
|
||||
sh "source salix.env"
|
||||
sh 'source "$SALIX_ENV"'
|
||||
}
|
||||
|
||||
configFileProvider([
|
||||
configFile(fileId: "salix.${env.NODE_ENV}.env",
|
||||
variable: 'SALIX_LOCAL_ENV')
|
||||
]) {
|
||||
sh 'cp "$SALIX_LOCAL_ENV" salix.local.env'
|
||||
sh "source salix.local.env"
|
||||
sh 'source "$SALIX_LOCAL_ENV"'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue