Modify the address of the plug-in image. Plug-in Management – Advanced – Upgrade site

replace

https://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/update-center.json
Copy the code

Installing a plug-in

Generic Webhook Trigger // Trigger Web TriggerCopy the code

Generate API Token Go to User Info – Settings -API Token

Click Generate and copy the generated API Token because it will not appear again

Then open code Cloud /gitHub- Project Management-webhooks

The format of the URL is specified here, refer to this, and then replace the JENKINS_URL with the format

For example, if you want to use gitee, run the following command: “Username :APIToken@jenksin IP address: port number

You do not need to enter a password

My full address is as follows:

http://xxx:[email protected]:8080/generic-webhook-trigger/invoke
Copy the code

Click Save, test, status code shows 200 success