Created
July 10, 2018 10:53
-
-
Save safebear/86ecb82983762042fe6cb007a23b13e4 to your computer and use it in GitHub Desktop.
Jenkins Stage for Extent reports
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stage('cucumber bdd tests') { | |
steps { | |
sh 'mvn clean -Dtest=${cuke} test -Ddomain=${domain} -Dport=${test_port} -Dcontext=${context} -Dsleep="0" -Dbrowser="headless"' | |
} | |
post { | |
always { | |
publishHTML([ | |
allowMissing : false, | |
alwaysLinkToLastBuild: false, | |
keepAll : false, | |
reportDir : 'target/cucumber', | |
reportFiles : 'extent_report.html', | |
reportName : 'BDD report', | |
reportTitles : '' | |
]) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment