summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHui Lan <lanhui@zjnu.edu.cn>2021-02-10 20:57:47 +0800
committerHui Lan <lanhui@zjnu.edu.cn>2021-02-10 20:57:47 +0800
commitd7ae2b2ffebea5a225838b05b0009a8b121d5ac3 (patch)
treee6cf6f8aa52eb86b6197df561dda9fbe1caa65a5
parent00bd348966cb61916a6469d139db0aec86ec47aa (diff)
Jenkinsfile: adding DBUS_SESSION_BUS_ADDRESS did not solve the problem.
-rw-r--r--Jenkinsfile2
1 files changed, 1 insertions, 1 deletions
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'