mirror of https://github.com/OpenVidu/openvidu.git
ci-scripts: replace old kurento-java repository with new one
parent
94bb69c418
commit
47e6ed01a5
|
@ -414,13 +414,13 @@ fi
|
||||||
# -------------
|
# -------------
|
||||||
if [[ "${USE_SPECIFIC_KURENTO_JAVA_COMMIT}" == true ]]; then
|
if [[ "${USE_SPECIFIC_KURENTO_JAVA_COMMIT}" == true ]]; then
|
||||||
|
|
||||||
git clone https://github.com/Kurento/kurento-java.git
|
git clone https://github.com/Kurento/kurento.git
|
||||||
pushd kurento-java
|
pushd kurento/clients/java
|
||||||
git checkout -f "${KURENTO_JAVA_COMMIT}"
|
git checkout -f "${KURENTO_JAVA_COMMIT}"
|
||||||
MVN_VERSION=$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec)
|
MVN_VERSION=$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec)
|
||||||
mvn -B -Dmaven.artifact.threads=1 clean install
|
mvn -B -Dmaven.artifact.threads=1 clean install
|
||||||
popd
|
popd
|
||||||
rm -rf kurento-java
|
rm -rf kurento
|
||||||
mvn -B versions:set-property \
|
mvn -B versions:set-property \
|
||||||
-Dproperty=version.kurento \
|
-Dproperty=version.kurento \
|
||||||
-DnewVersion="${MVN_VERSION}"
|
-DnewVersion="${MVN_VERSION}"
|
||||||
|
|
Loading…
Reference in New Issue