1
0
Fork 0

Jenkinsfile: install pytest-html package for generating html test report.

Lanhui-add-articles
Hui Lan 2021-07-13 12:32:57 +08:00
parent de7a140cbd
commit 2e543b6790
1 changed files with 1 additions and 0 deletions

1
Jenkinsfile vendored
View File

@ -21,6 +21,7 @@ pipeline {
echo 'Testing..'
sh 'sudo docker run -d -p 4444:4444 selenium/standalone-chrome'
sh 'pip3 install pytest -U -q'
sh 'pip3 install pytest-html -U -q'
sh 'pip3 install selenium -U -q'
sh 'pytest -v -s --html=EnglishPalTestReport.html ./app/test'
}