Skip to content

jenkinsci/practitest-integration-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PractiTest Jenkins plugin

Create Test Runs in PractiTest with results from Jenkins builds.

Plugin Installation from .hpi file

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. Click the Browse... button
  6. Select the practitest.hpi file
  7. 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

If you don't have existing projects create one by slecting New Item in the left menu. Click on the project you want to connect to PractiTest and follow these steps:

  1. Click Configure in the left menu
  2. Scroll down to Post-build Actions
  3. Click on Add post-build action and select PractiTest
  4. Paste instance URL from PractiTest (e.g. https://prod.practitest.com/p/1/sets/5/instances/59/edit)
  5. Click Save

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.hip 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.

About

PractiTest plugin for Jenkins

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 96.5%
  • HTML 3.5%