summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHui Lan <lanhui@zjnu.edu.cn>2021-02-08 21:29:45 +0800
committerHui Lan <lanhui@zjnu.edu.cn>2021-02-08 21:29:45 +0800
commit274470e820ae5c06d4edee4649e1b45f5708e66b (patch)
treec5bd0d129178577e7a6d27381d6aac3d4c1a54df
parentd74856fc16065c1c35f88559e1cedfbf618f2f86 (diff)
Jenkinsfile: use 'python3 -m pytest' instead of 'pytest' alone.
-rw-r--r--Jenkinsfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 33f8d53..b8c1c04 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -22,7 +22,7 @@ pipeline {
sh 'sudo docker run -d -p 4444:4444 selenium/standalone-chrome'
sh 'pip3 install pytest -U -q'
sh 'pip3 install selenium -U -q'
- sh 'cd ./app/test && pytest && cd -'
+ sh 'python3 -m pytest ./app/test'
}
}
stage('DeployIt') {