Deploy: COMPOSER_HTTP_TIMEOUT increased
This commit is contained in:
parent
bf909c6620
commit
d83072cee7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue