Skip to content

Commit

Permalink
Merge pull request #355 from ThorodanBrom/fix-integration-test-host-p…
Browse files Browse the repository at this point in the history
…roperty

Bug-Fix: Fix `intTestHost` property, allow taking protocol + host
  • Loading branch information
ThorodanBrom authored May 3, 2024
2 parents 444059b + 5e091c0 commit 0879554
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ pipeline {
}
script{
sh 'cp /home/ubuntu/configs/aaa-config-integ.json configs/config-integ.json'
sh 'mvn test-compile failsafe:integration-test -DskipUnitTests=true -DintTestProxyHost=jenkins-master-priv -DintTestProxyPort=8090 -DintTestHost=jenkins-slave1 -DintTestPort=8443'
sh 'mvn test-compile failsafe:integration-test -DskipUnitTests=true -DintTestProxyHost=jenkins-master-priv -DintTestProxyPort=8090 -DintTestHost=http://jenkins-slave1 -DintTestPort=8443'
}
node('built-in') {
script{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public void beforeAll(ExtensionContext context) {
String testHost = System.getProperty("intTestHost");

if (testHost != null) {
baseURI = "http://" + testHost;
baseURI = testHost;
} else {
baseURI = "http://localhost";
}
Expand Down

0 comments on commit 0879554

Please sign in to comment.