Jenkinsfile fixes

This commit is contained in:
Juan Ferrer 2019-01-11 14:26:05 +01:00
parent 7a4510ebc8
commit ac41a77d2f
1 changed files with 7 additions and 4 deletions

11
Jenkinsfile vendored
View File

@ -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') {