Jenkins is a self-contained, open source automation server which can be used to automate all sorts of tasks related to building, testing, and deploying software.
1. Set the following in Jenkins settings
Project
↳Configure
↳Execute_shell_command (or Windows shell command in Windows)
2. Shell command to execute
Make sure to insert your project id, baseUrl, required capabilities and possible tags
Linux
SCRIPT_PATH=/tmp/jenkins-usetrace.sh
if [ ! -f $SCRIPT_PATH ]; then
curl -sL https://tools.usetrace.com/integration/jenkins-usetrace.sh > $SCRIPT_PATH
fi
bash $SCRIPT_PATH
Windows
You need to have cygwin and curl installed, and jenkins-usetrace.sh downloaded to c:\usetrace.
set path=%path%;c:\cygwin\bin;c:\curl\bin
bash c:\usetrace\jenkins-usetrace.sh
Parameters
Project ID: Get it from your Settings
Required capabilities: comma separated list of firefox,chrome,ie9,ie10,ie11
Base url: Web URL where your traces start from
Wanted tags: comma separated list of desired tags
3. Configure reports In Jenkins’ settings
Post-build Actions
↳ ☒ Publish JUnit test result report
Test report XMLs: "target/test-reports/*.xml"