From 00bd348966cb61916a6469d139db0aec86ec47aa Mon Sep 17 00:00:00 2001 From: Hui Lan Date: Wed, 10 Feb 2021 20:53:57 +0800 Subject: Jenkinsfile: DBUS_SESSION_BUS_ADDRESS https://github.com/SeleniumHQ/docker-selenium/issues/392. --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' -- cgit v1.2.1