Skip to content

Commit 17921a7

Browse files
committed
jenkins: fix tests
1 parent c495a9c commit 17921a7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Jenkinsfile

+5-5
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ if (publishable_branches.contains(env.BRANCH_NAME)) {
6565
echo("Wait for devicehive")
6666
timeout(time:2, unit: 'MINUTES') {
6767
waitUntil{
68-
def fe_status = sh script: 'curl --output /dev/null --silent --head --fail "http://127.0.0.1:8080/api/rest/info"', returnStatus: true
68+
def fe_status = sh script: 'curl --output /dev/null --silent --head --fail "http://127.0.0.1/api/rest/info"', returnStatus: true
6969
return (fe_status == 0)
7070
}
7171
}
@@ -84,11 +84,11 @@ if (publishable_branches.contains(env.BRANCH_NAME)) {
8484
sh '''
8585
cp config.json config.json.orig
8686
cat config.json.orig | \\
87-
jq ".server.wsUrl = \\"ws://127.0.0.1:8080/api/websocket\\"" | \\
87+
jq ".server.wsUrl = \\"ws://127.0.0.1/api/websocket\\"" | \\
8888
jq ".server.ip = \\"127.0.0.1\\"" | \\
89-
jq ".server.port = \\"8080\\"" | \\
90-
jq ".server.restUrl = \\"http://127.0.0.1:8080/api/rest\\"" | \\
91-
jq ".server.authRestUrl = \\"http://127.0.0.1:8090/api/rest\\"" > config.json
89+
jq ".server.port = \\"80\\"" | \\
90+
jq ".server.restUrl = \\"http://127.0.0.1/api/rest\\"" | \\
91+
jq ".server.authRestUrl = \\"http://127.0.0.1/auth/rest\\"" > config.json
9292
'''
9393

9494
timeout(time:10, unit: 'MINUTES') {

0 commit comments

Comments
 (0)