Search...
Menu

How to integrate with Jenkins

LigaAI Plugin for Jenkins

ligai-integrat_v1.1.hpi


Step1. Install the plugin in Jenkins

  1. Download the LigaAI Plugin for Jenkins file.
  2. Log in to your Jenkins as an administrator.
  3. Click Manage Jenkins on the left and then click Mange Plugin.

4. On the next page, switch to the Advanced tab. Then choose LigaAI Plugin file and click on Upload.


Step2. Configure LigaAI Plugin Parameters

  1. Enter Jenkins integration page in LigaAI, click on Get Configuration button. You will get Webhook Url and Secret Token.


2. Back to Manage Jenkins and Click on Configure System and you will find Leiga Application in this page.

3. Fill in your Jenkins access address in Jenkins URL.

4. Fill in the Webhook Url generated in the previous step from LigaAI in Webhook URL.

4. Click the Add button below.

5. On the next page, Select Secret Text on the dropdown of Type.

6. Add the Secret Token generated from LigaAI to Secret.

7. Click the button to test the connection, and save the configuration if connect successfully.


Step3. Configure Git Tool Pipeline File

Add this function: lgSendBuildInfo(options) to Git tool pipe line file.

For the location where to add the function please refer to the following image.



Previous
Jenkins Integration
Next
GitHub Integration
Last modified: 2023-05-10Powered by