webhook setup

main
Yik Teng Hie 3 years ago
parent 6447cf726e
commit 825423cb16

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

@ -0,0 +1,26 @@
# setup gitea webhook
- Setup gitea webhook to trigger jenkins build
- [Tutorial](https://wiki.gcube-system.org/gcube/Gitea/Jenkins:_Setting_up_Webhooks)
- Update `docker-compose.yml` host name
```yml
...
services:
server:
image: gitea
...
extra_hosts:
- "dev.mitech.com.sg:172.16.16.2"
```
## Steps
1. Add webhook trigger to Gitea Server
- ![](/images/01-webhook.PNG)
- ![](/images/02-webhook.PNG)
2. Setup webhook endpoint on Jenkins Server
- ![](/images/03-webhook.PNG)
- ![](/images/04-webhook.PNG)
3. Config Jenkins project setting
- ![](/images/05-webhook.PNG)
Loading…
Cancel
Save