jenkins + gogs, with code update service

1. jenkins installation gogs

jenkins System Management - Plugin Manager - optional plug-ins, filters gogs, can be installed

 

2. The project, configure gogswebhook

Select the project to build immediately after the code required to submit - Configuration - gogs webhook - Configuration Password

 

3. Log gogs, configuration webhook in the warehouse

Warehouse set up - Management web hook - hook add web

 

 Fill in the screenshot above information, the secret key with 2-step settings, update web hook, push test.

 

 

 It can be.

 

4. jenkins View project, whether to build a new history

 

Guess you like

Origin www.cnblogs.com/CinYung/p/12106685.html
Recommended