mirror of https://github.com/OpenVidu/openvidu.git
Jenkisnfile: avoid repeating mvn test on openvidu-server build command
parent
fa422bfc02
commit
82115a7ce8
|
@ -108,7 +108,7 @@ node('container') {
|
||||||
stage('OpenVidu Server build') {
|
stage('OpenVidu Server build') {
|
||||||
sh(script: '''#!/bin/bash -xe
|
sh(script: '''#!/bin/bash -xe
|
||||||
cd openvidu/openvidu-server
|
cd openvidu/openvidu-server
|
||||||
mvn -B package
|
mvn -B -DskipTests=true package
|
||||||
cp target/openvidu-server*.jar /opt/openvidu
|
cp target/openvidu-server*.jar /opt/openvidu
|
||||||
'''.stripIndent())
|
'''.stripIndent())
|
||||||
}
|
}
|
||||||
|
|
|
@ -3294,7 +3294,8 @@ public class OpenViduTestAppE2eTest extends AbstractOpenViduTestAppE2eTest {
|
||||||
|
|
||||||
setupBrowser("chromeAsRoot");
|
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.id("add-user-btn")).click();
|
||||||
user.getDriver().findElement(By.className("join-btn")).click();
|
user.getDriver().findElement(By.className("join-btn")).click();
|
||||||
|
@ -3312,8 +3313,8 @@ public class OpenViduTestAppE2eTest extends AbstractOpenViduTestAppE2eTest {
|
||||||
this.startMediaServer();
|
this.startMediaServer();
|
||||||
Thread.sleep(5000);
|
Thread.sleep(5000);
|
||||||
|
|
||||||
// Connect one subscriber with connection to KMS -> restart KMS -> -> check the
|
// Connect one subscriber-only user with connection to KMS -> restart KMS -> ->
|
||||||
// session is still OK -> connect a publisher -> restart KMS -> check
|
// check the session is still OK -> connect a publisher -> restart KMS -> check
|
||||||
// streamDestroyed events
|
// streamDestroyed events
|
||||||
|
|
||||||
user.getDriver().findElement(By.id("add-user-btn")).click();
|
user.getDriver().findElement(By.id("add-user-btn")).click();
|
||||||
|
|
Loading…
Reference in New Issue