From d7ae2b2ffebea5a225838b05b0009a8b121d5ac3 Mon Sep 17 00:00:00 2001 From: Hui Lan Date: Wed, 10 Feb 2021 20:57:47 +0800 Subject: Jenkinsfile: adding DBUS_SESSION_BUS_ADDRESS did not solve the problem. --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 9cadcb4..ea23212 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -19,7 +19,7 @@ pipeline { stage('TestIt') { steps { echo 'Testing..' - sh 'sudo docker run -d -p 4444:4444 -e DBUS_SESSION_BUS_ADDRESS=/dev/null selenium/standalone-chrome' + sh 'sudo docker run -d -p 4444:4444 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