Skip to content

Commit bcd8b66

Browse files
committed
verify hub is at localhost.
1 parent 0c2c9e5 commit bcd8b66

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

Jenkinsfiles/Jenkinsfile.cbc-run-multi-pr-checks-w-selenium-chromium

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,19 @@ pipeline {
7878
stage("Start selenium server jar in background") {
7979
steps{
8080
sh """
81-
ls
82-
pwd
83-
ls /
8481
java -jar /selenium-server-standalone.jar -role hub -host chrome &
8582
"""
8683
}
8784
}
8885

86+
stage("Check localhost:4444/wd/hub is active") {
87+
steps{
88+
sh """
89+
curl http://localhost:4444/wd/hub
90+
"""
91+
}
92+
}
93+
8994
stage("RUN Django Unit Tests") {
9095
steps{
9196
sh """

0 commit comments

Comments
 (0)