Jenkinsfile: fix parallel syntax

pull/661/head
pabloFuente 2021-10-22 11:57:00 +02:00
parent 1d53c87500
commit fa3d4f6097
1 changed files with 43 additions and 45 deletions

View File

@ -59,8 +59,7 @@ node('container') {
} }
stage('Artifacts build') { stage('Artifacts build') {
parallel { parallel openviduBrowser: {
stage('OpenVidu Browser build') { stage('OpenVidu Browser build') {
sh(script: '''#!/bin/bash -xe sh(script: '''#!/bin/bash -xe
cd openvidu cd openvidu
@ -74,7 +73,7 @@ node('container') {
git checkout -f $OPENVIDU_COMMIT git checkout -f $OPENVIDU_COMMIT
'''.stripIndent()) '''.stripIndent())
} }
}, openviduNodeClient: {
stage('OpenVidu Node Client build') { stage('OpenVidu Node Client build') {
sh(script: '''#!/bin/bash -xe sh(script: '''#!/bin/bash -xe
cd openvidu cd openvidu
@ -88,7 +87,7 @@ node('container') {
git checkout -f $OPENVIDU_COMMIT git checkout -f $OPENVIDU_COMMIT
'''.stripIndent()) '''.stripIndent())
} }
}, openviduJavaClient: {
stage('OpenVidu Java Client build') { stage('OpenVidu Java Client build') {
sh(script: '''#!/bin/bash -xe sh(script: '''#!/bin/bash -xe
cd openvidu cd openvidu
@ -103,7 +102,6 @@ node('container') {
git checkout -f $OPENVIDU_COMMIT git checkout -f $OPENVIDU_COMMIT
'''.stripIndent()) '''.stripIndent())
} }
} }
} }