From d83072cee71f88d655cb1e2a57209bd5f345428c Mon Sep 17 00:00:00 2001 From: Juan Date: Mon, 11 Jun 2018 09:33:41 +0200 Subject: [PATCH] Deploy: COMPOSER_HTTP_TIMEOUT increased --- Jenkinsfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 555508a31..2153aed81 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,12 +1,10 @@ #!/usr/bin/env groovy -def branchName = env.BRANCH_NAME; - // TODO: We are using latest tag until image rotation it's implemented env.TAG = 'latest' /* env.BUILD_NUMBER */; -env.BRANCH_NAME = branchName; env.salixUser = env.salixUser; env.salixPassword = env.salixPassword; +env.COMPOSER_HTTP_TIMEOUT = 300 switch (branchName) { case 'test': @@ -24,7 +22,7 @@ switch (branchName) { node { stage ('Print environment variables') { - echo "Branch ${branchName}, tag ${env.TAG}, environament ${env.NODE_ENV}" + echo "Branch ${env.BRANCH_NAME}, tag ${env.TAG}, environament ${env.NODE_ENV}" } stage ('Checkout') { checkout scm