Jenkins integrates tapd plugin

1. Associate jenkins on tapd

1.1 The company administrator logs in to tapd, enters Settings - Development Integration - Service Integration

[External link image transfer failed, the source site may have an anti-leeching mechanism, it is recommended to save the image and upload it directly (img-9Ni6OxXQ-1677744094793) (C:\Users\10238\AppData\Roaming\Typora\typora-user-images\ image-20230301105751012.png)]
insert image description here

1.2 Download the plugin and install it on jenkins.

insert image description here

2. Associate jenkins on tapd and configure tapd plug-in in jenkins

1) Complete the global settings of the plug-in in Jenkins. After the plug-in installation is complete, use the administrator account to enter the Jenkins system management page, click TAPD plug-in configuration
insert image description here
2) Fill in the relevant configuration information:

Jenkins name : Name Jenkins, so that when TAPD manages Jenkins configuration, you can choose to call the corresponding Jenkins service according to the name (format requirements: 8-20 characters, please enter Chinese and English, underscores, English periods and numbers, and only in Chinese and English beginning.)

Jenkins administrator : Fill in the Jenkins administrator account to manage the job construction.

Jenkins access address : Please ensure that the current jenkins server has opened the external network access policy, and fill in the link address of the jenkins homepage that can be accessed from the external network (example: http://123.207.x.x/jenkins), to support accessing the current Jenkins from TAPD.

Jenkins API Token : Generated in jenkins user settings, copy the generated token after generation.

Webhook address : Jenkins and TAPD are associated through Webhook, and the Webhook configuration obtained in step 2 can be filled in. You can also enter the TAPD project settings application settings, select the pipeline configuration and get the address to fill in.

Secret Token : used for Webhook security verification, you can fill in the Webhook configuration obtained in step 2. You can also enter the TAPD project settings application settings, select the pipeline configuration and obtain it.

insert image description here

2.1 Generate Jenkins API Token

insert image description here

3. Enter a project, enable the pipeline and configure

[External link picture transfer failed, the source site may have an anti-leeching mechanism, it is recommended to save the picture and upload it directly (img-vtSY7xpq-1677744094796) (C:\Users\10238\AppData\Roaming\Typora\typora-user-images\ image-20230301143052946.png)]
insert image description here

3.1 Select jenkins to associate

insert image description here

3.2 jenkins has installed the tapd plug-in and configured webhook, associated existing services, and select the corresponding jenkins

insert image description here

3.3 Find the corresponding project ID and configure it in jenkins

insert image description here
insert image description here

3.4 Click to start execution.

insert image description here

3.5 Successful execution

insert image description here

Guess you like

Origin blog.csdn.net/weixin_43466526/article/details/129302989