Subject7 Jenkins Plugin

Here is the link to the latest Subject7 Jenkins Plugin 10.0.1

Archived versions:

Subject7 Jenkins Plugin 9.5.6

Subject7 Jenkins Plugin 9.5.5

Subject7 Jenkins Plugin 9.0.2

Subject7 Jenkins Plugin 9.0.0

Subject7 Jenkins Plugin 9.1.3

 

 

Minimum Jenkins Version Required is 2.0. 

Here is Jenkins Plugin Installation Reference

 

Once you install the plugin, you can either watch this quick video or follow the written instructions below. 

Here is a simple video showing how to set it up.

 

After the plugin is installed, you need to create a credential. Here are the steps:

1. Go to Manage Jenkins > Manage Credentials on the left menu in Jenkins.

2- Hover your mouse over Global, click on the arrow that appears next to it and click Add credentials.

3- From Kind, choose Subject7 API Key Credentials or Subject7 Basic Credentials according to your preference. You can get your API key by hovering over your platform username and clicking Manage API Key.

4- Here are parameters 

Platform Host: https://platform.subject-7.com

Username: YOUR-PLATFORM-USERNAME

Password: YOUR-PLATFORM-PASSWORD

ID: NOT_USED

Description: Optional 

 

5- Once finished, click Create. Subject7 should now appear in the post-build action after creating a new project on Jenkins:

 

6. After you select it from the menu, you will see the following form:

 

7. Here are the parameters that you need to fill in once the plugin is added and available as a step in the build process: 

 

Server: This is what you have set up as credentials earlier. Select from the drop-down at this point you should probably have only one item. 

Sync Execution: If checked, the build will not complete until all test cases are passed in the provided Execution Set or we reach the timeout parameter. If not checked, the build will continue without waiting for the result. 

Report Format: The test execution report returned in Jenkins can be in HTML or in JSON format. You can also see the detail report by logging into the platform and search for your build  

Build Number: Optional parameter. If your Jenkins generates build numbers you can use ${BUILD_NUMBER}. This is just metadata and it will show up in the execution reports and can be used for tracking purposes.  

Timeout (s): Number of seconds before the build waits for automation tests to complete. If it reaches more, the build will fail.

Delay (s): Number of seconds to wait before starting to execute the tests. Sometimes, deployments take a little longer because they depend on 3rd party system outside of the build process control, and hence waiting is required. 

Callback: In case you want to make a REST call after your build is complete to a third party system. 

CallBack Payload: Payload of the REST callback.  

Execution Set Name: The name of the set you want to kick-off

 

Suggested Articles:

How to override dataset values through Jenkins

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Please sign in to leave a comment.