Jenkisnfile: avoid repeating mvn test on openvidu-server build command

pull/658/head
pabloFuente 2021-10-30 14:33:35 +02:00
parent fa422bfc02
commit 82115a7ce8
2 changed files with 5 additions and 4 deletions

View File

@ -108,7 +108,7 @@ node('container') {
stage('OpenVidu Server build') {
sh(script: '''#!/bin/bash -xe
cd openvidu/openvidu-server
mvn -B package
mvn -B -DskipTests=true package
cp target/openvidu-server*.jar /opt/openvidu
'''.stripIndent())
}

View File

@ -3294,7 +3294,8 @@ public class OpenViduTestAppE2eTest extends AbstractOpenViduTestAppE2eTest {
setupBrowser("chromeAsRoot");
// Connect one publisher with no connection to KMS
// Connect one publisher with no connection to KMS. Session should fail to be
// created and an alert message should be displayed on the browser
user.getDriver().findElement(By.id("add-user-btn")).click();
user.getDriver().findElement(By.className("join-btn")).click();
@ -3312,8 +3313,8 @@ public class OpenViduTestAppE2eTest extends AbstractOpenViduTestAppE2eTest {
this.startMediaServer();
Thread.sleep(5000);
// Connect one subscriber with connection to KMS -> restart KMS -> -> check the
// session is still OK -> connect a publisher -> restart KMS -> check
// Connect one subscriber-only user with connection to KMS -> restart KMS -> ->
// check the session is still OK -> connect a publisher -> restart KMS -> check
// streamDestroyed events
user.getDriver().findElement(By.id("add-user-btn")).click();