mirror of https://github.com/OpenVidu/openvidu.git
Jenkinsfile: name parallel tasks without stages
parent
cffa50ddab
commit
d234639423
|
@ -57,7 +57,7 @@ node('container') {
|
||||||
'''.stripIndent())
|
'''.stripIndent())
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Artifacts build 1') {
|
stage('Build 1') {
|
||||||
parallel 'OpenVidu Browser build': {
|
parallel 'OpenVidu Browser build': {
|
||||||
stage('OpenVidu Browser build') {
|
stage('OpenVidu Browser build') {
|
||||||
sh(script: '''#!/bin/bash -xe
|
sh(script: '''#!/bin/bash -xe
|
||||||
|
@ -104,8 +104,9 @@ node('container') {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Artifacts build 2') {
|
stage('Build 2') {
|
||||||
parallel 'OpenVidu TestApp build': {
|
parallel 'OpenVidu TestApp build': {
|
||||||
|
stage('OpenVidu TestApp build') {
|
||||||
sh(script: '''#!/bin/bash -xe
|
sh(script: '''#!/bin/bash -xe
|
||||||
cd openvidu
|
cd openvidu
|
||||||
if [[ $OPENVIDU_TESTAPP_COMMIT != "default" ]]; then
|
if [[ $OPENVIDU_TESTAPP_COMMIT != "default" ]]; then
|
||||||
|
@ -119,7 +120,9 @@ node('container') {
|
||||||
cd ..
|
cd ..
|
||||||
git checkout -f $OPENVIDU_COMMIT
|
git checkout -f $OPENVIDU_COMMIT
|
||||||
'''.stripIndent())
|
'''.stripIndent())
|
||||||
|
}
|
||||||
}, 'OpenVidu parent build': {
|
}, 'OpenVidu parent build': {
|
||||||
|
stage('OpenVidu parent build') {
|
||||||
sh(script: '''#!/bin/bash -xe
|
sh(script: '''#!/bin/bash -xe
|
||||||
if [[ $KURENTO_JAVA_COMMIT != "default" ]]; then
|
if [[ $KURENTO_JAVA_COMMIT != "default" ]]; then
|
||||||
cd kurento-java && MVN_VERSION=$(mvn --batch-mode -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec)
|
cd kurento-java && MVN_VERSION=$(mvn --batch-mode -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec)
|
||||||
|
@ -130,6 +133,7 @@ node('container') {
|
||||||
sh 'cd openvidu && mvn --batch-mode -DskipTests=true clean install'
|
sh 'cd openvidu && mvn --batch-mode -DskipTests=true clean install'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage('OpenVidu Server unit tests') {
|
stage('OpenVidu Server unit tests') {
|
||||||
sh 'cd openvidu/openvidu-server && mvn --batch-mode -Dtest=io.openvidu.server.test.unit.*Test test'
|
sh 'cd openvidu/openvidu-server && mvn --batch-mode -Dtest=io.openvidu.server.test.unit.*Test test'
|
||||||
|
|
Loading…
Reference in New Issue