Update Jenkinsfile

pull/255/head
Pablo Fuente Pérez 2019-03-22 14:25:42 +01:00 committed by GitHub
parent 3e1fac404b
commit 37f606d8f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ node('container') {
sh(script: '''#!/bin/bash
if $KURENTO_JAVA_SNAPSHOT ; then
git clone https://github.com/Kurento/kurento-java.git
cd kurento-java/kurento-client && mvn --batch-mode compile org.kurento:kurento-maven-plugin:6.7.0:generate-kurento-client
cd kurento-java && mvn --batch-mode clean install && MVN_VERSION=$(mvn --batch-mode -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec)
cd ../openvidu && mvn --batch-mode versions:set-property -Dproperty=version.kurento -DnewVersion=$MVN_VERSION
fi