Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Commit 4f218e4

Browse files
cisco66666peng
and
peng
authored
Separate master and branch test logs
Co-authored-by: peng <peng@example.com>
1 parent 1f6485a commit 4f218e4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/conference.jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ pipeline {
6666

6767
node('api-js-centos-'+env.GIT_BRANCH) {
6868
container('test-images') {
69-
sh "/root/startRun.sh * * centos test ${env.GIT_COMMIT} ConferenceClient_API_1"
69+
sh "/root/startRun.sh * * centos test ${env.GIT_COMMIT} ConferenceClient_API_1 $env.GIT_BRANCH"
7070
}
7171
}
7272
}
@@ -86,7 +86,7 @@ pipeline {
8686

8787
node('rest-js-centos-'+env.GIT_BRANCH) {
8888
container('test-images') {
89-
sh "/root/startRun.sh * * centos test ${env.GIT_COMMIT} ConferenceClient_API_2"
89+
sh "/root/startRun.sh * * centos test ${env.GIT_COMMIT} ConferenceClient_API_2 $env.GIT_BRANCH"
9090
}
9191
}
9292
}

test/ubuntuconference.jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ pipeline {
6565

6666
node('api-js-ubuntu-'+env.GIT_BRANCH) {
6767
container('test-images') {
68-
sh "/root/startRun.sh * * ubuntu test ${env.GIT_COMMIT} ConferenceClient_API_1"
68+
sh "/root/startRun.sh * * ubuntu test ${env.GIT_COMMIT} ConferenceClient_API_1 $env.GIT_BRANCH"
6969
}
7070
}
7171
}
@@ -85,7 +85,7 @@ pipeline {
8585

8686
node('rest-js-ubuntu-'+env.GIT_BRANCH) {
8787
container('test-images') {
88-
sh "/root/startRun.sh * * ubuntu test ${env.GIT_COMMIT} ConferenceClient_API_2"
88+
sh "/root/startRun.sh * * ubuntu test ${env.GIT_COMMIT} ConferenceClient_API_2 $env.GIT_BRANCH"
8989
}
9090
}
9191
}

0 commit comments

Comments
 (0)