Skip to end of metadata
Go to start of metadata

Plugin Information

View TestProject Automation Platform on the plugin site for more information.


This plugin provides an easy way to execute TestProject jobs. A detailed tutorial can be found in the TestProject blog post.


This plugin supports both FreeStyle and Pipeline jobs

Prerequisites

  1. Have an active TestProject account which can be obtained for free at the TestProject website.

  2. At least one registered and running TestProject Agent.
  3. A job (in your account) containing the tests that you wish to run.

Step-by-step guide

  1. Install the plugin.
  2. Go to project Configure > TestProject.
  3. Provide your TestProject API Key which can be obtained here.

Parameters

In addition to the API key that needs to be provided once in global configuration when executing a job you will have to provide 3 additional parameters:

  • projectId - The ID of the project that contains the job you with to run.
  • jobId - The ID of the job that you with to run.
  • waitJobFinishSeconds - How many seconds should Jenkins build wait for the automation job to finish. If 0 is provided, Jenkins will not wait for TestProject to finish execution.

To get Project/Job IDs, use the context menu in TestProject application.
Copy ID


Pipeline syntax

runtpjob jobId: '<JOB_ID>', projectId: '<PROJECT_ID>', waitJobFinishSeconds: 180

Additional info

Blog: https://blog.testproject.io

Forum: https://forum.testproject.io

YouTube: https://www.youtube.com/channel/UCEAPPxNvHT74Xj6Ixt28mNw