Skip to content

Commit 3565a83

Browse files
committed
Use BROWSER environment variable to select browser
1 parent 7d1904e commit 3565a83

File tree

1 file changed

+6
-0
lines changed
  • docs/tutorials/jenkins/parallel-robot-pipeline

1 file changed

+6
-0
lines changed

docs/tutorials/jenkins/parallel-robot-pipeline/Jenkinsfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ pipeline {
1717
args '--entrypoint=""'
1818
reuseNode true
1919
} }
20+
environment {
21+
BROWSER = "chromium"
22+
}
2023
steps {
2124
sh "robot -d robot_output -l none -r none -o chromium.xml -N Chromium -v URL:${params.URL} --nostatusrc $d/suites/"
2225
// If reuseNode true was not used, we would have to stash the output XML.
@@ -29,6 +32,9 @@ pipeline {
2932
args '--entrypoint=""'
3033
reuseNode true
3134
} }
35+
environment {
36+
BROWSER = "firefox"
37+
}
3238
steps {
3339
sh "robot -d robot_output -l none -r none -o b.xml -N Firefox -v URL:${params.URL} --nostatusrc $d/suites/"
3440
// If reuseNode true was not used, we would have to stash the output XML.

0 commit comments

Comments
 (0)