Jenkinsfile: install pytest-html package for generating html test report.
parent
de7a140cbd
commit
2e543b6790
|
@ -21,6 +21,7 @@ pipeline {
|
||||||
echo 'Testing..'
|
echo 'Testing..'
|
||||||
sh 'sudo docker run -d -p 4444:4444 selenium/standalone-chrome'
|
sh 'sudo docker run -d -p 4444:4444 selenium/standalone-chrome'
|
||||||
sh 'pip3 install pytest -U -q'
|
sh 'pip3 install pytest -U -q'
|
||||||
|
sh 'pip3 install pytest-html -U -q'
|
||||||
sh 'pip3 install selenium -U -q'
|
sh 'pip3 install selenium -U -q'
|
||||||
sh 'pytest -v -s --html=EnglishPalTestReport.html ./app/test'
|
sh 'pytest -v -s --html=EnglishPalTestReport.html ./app/test'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue