Archive
Last modified by Thomas Mortagne on 2025/02/26
Blog - Other - posts for June 2017
Jun 06 2017
Jenkins Pipeline: Attach failing test screenshot
When we run our functional tests (we use Selenium2/Webdriver), we record a screenshot when a test fails. Previously we had a Groovy Scriptler script (written by Eduard Moraru, an XWiki committer) to automatically change the description of a Jenkins test page to include the screenshot. This blog post explains the solution found to port it to a Jenkins Pipeline script. ...