From ac41a77d2fe04f7e06a50132e8c5ecfcf1b8f973 Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Fri, 11 Jan 2019 14:26:05 +0100 Subject: [PATCH] Jenkinsfile fixes --- Jenkinsfile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index fc714f76b..09ef115b4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -51,10 +51,12 @@ pipeline { environment { NODE_ENV = '' } - steps { - nodejs('node-lts') { - sh "npm install --no-audit" - sh "gulp install" + parallel { + stage('npm') { + steps { nodejs('node-lts') { sh "npm install --no-audit" } } + } + stage('Gulp') { + steps { nodejs('node-lts') { sh "gulp install" } } } } } @@ -74,6 +76,7 @@ pipeline { stage('Deploy') { environment { DOCKER_TLS_VERIFY = 1 + DOCKER_CERT_PATH = credentials('docker') } parallel { stage('Host 1') {