Jenkins#
Jenkins is a self-contained, open source automation server that can be used to automate all sorts of tasks related to building, testing, and delivering or deploying software.
For Automation Reporting distribution of Zebrunner, this integration allows users to:
- Launch tests in Jenkins environment via Zebrunner
- If reporting agent for the automation framework supports relaunches, relaunch tests that were originally executed in Jenkins
- View the Job parameters that were used when running the tests
Note
It is allowed to have more than one Jenkins integration for one project. Hovewer, if multiple integrations for one project have the same URL, an arbitrary integration will be selected for communication with the Jenkins instance.
Obtaining API token#
- Log in to your Jenkins workspace
- Click the username icon
- Press the Configure button
- Find API Token section, click the Add new Token
- Enter its name and click the Generate
- Copy the generated token
Configuring integration#
The following steps need to be performed to add a Jenkins integration:
- Navigate to Setting → Integrations → Jenkins
- Click the Integration button
- Enter your URL, username and API token
- Select the projects to add the integration to. For more information, refer to Selecting projects documentation
- (optional) Click the Test button to check connectivity
- Click the Save button