Jenkins

Jenkins settings for triggers

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://usetrace.com/integration/jenkins-usetrace.sh > $SCRIPT_PATH
fi
bash $SCRIPT_PATH <YOUR_PROJECT_ID> <YOUR_BASE_URL> <Required capabilities> <Wanted tags>

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 <YOUR_PROJECT_ID> <YOUR_BASE_URL> <Required capabilities> <Wanted tags>

Parameters

3. Configure reports In Jenkins’ settings

Post-build Actions
  ↳ ☒ Publish JUnit test result report
    Test report XMLs: "target/test-reports/*.xml"