Code Monkey home page Code Monkey logo

pt-jenkins-plugin's Introduction

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.

pt-jenkins-plugin's People

Contributors

motiko avatar yaniviny avatar stask avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.