PractiTest Jenkins plugin
Create Test Runs in PractiTest with results from Jenkins builds
Plugin Installation
In Jenkins web UI:
1. Click on Manage Jenkins in the left menu
2. Select Manage Plugins
3. Go to Advanced tab
4. Scroll to Upload Plugin
5. Download the practitest.hpi file here
6. Press Choose File in the Upload Plugin section
7. Click the Browse… button
8. Select the practitest.hpi file
9. Click Upload
Plugin configuration
In Jenkins web UI:
1 Click on Manage Jenkins in the left menu
2. Click on Configure System
3. Scroll down to PractiTest Plugin Settings
4. Paste your API Token
Configure Jenkins project to create runs in PractiTest


Development
Run in console mvn hpi:run -Pjenkins
And access : http://127.0.0.1:8080/jenkins/
Release
Run in console mvn hpi:hpi
The practitest hpi file should be in target/ directory.
Running Jenkins in docker
To run jenkins in docker execute:
docker pull jenkinsci/jenkins:lts docker run -p 8080:8080 -p 50000:50000 jenkinsci/jenkins:lts
If you are running with docker-machine access jenkins through docker machine ip (to find out run echo $DOCKER_HOST
) otherwise just access http://localhost:8080 in your browser.