We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e99c10 commit 7a49c10Copy full SHA for 7a49c10
1 file changed
‎Jenkinsfile‎
@@ -31,7 +31,7 @@ pipeline {
31
default:
32
env.ENVIRONMENT = 'other'
33
env.DOCKER_COMPOSE_FILE = ''
34
- echo "Branch ${branchName} is not supported. Skipping deployment."
+ env.ENV_FILE_CREDENTIAL = 'blog-dev-env-file'
35
}
36
37
echo "Environment: ${env.ENVIRONMENT}"
@@ -41,9 +41,6 @@ pipeline {
41
42
43
stage('Setup .env') {
44
- when {
45
- expression { env.ENVIRONMENT != 'other' }
46
- }
47
steps {
48
script {
49
withCredentials([file(credentialsId: env.ENV_FILE_CREDENTIAL, variable: 'SECRET_ENV_FILE')]) {
0 commit comments