summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHui Lan <lanhui@zjnu.edu.cn>2021-02-10 20:53:57 +0800
committerHui Lan <lanhui@zjnu.edu.cn>2021-02-10 20:53:57 +0800
commit00bd348966cb61916a6469d139db0aec86ec47aa (patch)
tree5c56c1368710d44102bd17634de83b5ad5748070
parentdfb93078e68851c7bcc7fab8e461a8bcdfe47164 (diff)
Jenkinsfile: DBUS_SESSION_BUS_ADDRESS https://github.com/SeleniumHQ/docker-selenium/issues/392.
-rw-r--r--Jenkinsfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index ea23212..9cadcb4 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -19,7 +19,7 @@ pipeline {
stage('TestIt') {
steps {
echo 'Testing..'
- sh 'sudo docker run -d -p 4444:4444 selenium/standalone-chrome'
+ sh 'sudo docker run -d -p 4444:4444 -e DBUS_SESSION_BUS_ADDRESS=/dev/null selenium/standalone-chrome'
sh 'pip3 install pytest -U -q'
sh 'pip3 install selenium -U -q'
sh 'python3 -m pytest -v -s ./app/test'