From 3cc5105c4784392786c8c5e94305dd5662ce80e9 Mon Sep 17 00:00:00 2001 From: Lan Hui Date: Wed, 9 Jun 2021 08:14:21 +0800 Subject: [PATCH] Jenkinsfile: generate an HTML test report. --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index ea23212..9c383e9 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 'python3 -m pytest -v -s ./app/test' + sh 'pytest -v -s –html=EnglishPalTestReport.html ./app/test' } } stage('DeployIt') {