webhook setup
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
|
||||||
|
- 
|
||||||
|
- 
|
||||||
|
|
||||||
|
2. Setup webhook endpoint on Jenkins Server
|
||||||
|
- 
|
||||||
|
- 
|
||||||
|
|
||||||
|
3. Config Jenkins project setting
|
||||||
|
- 
|
||||||
Loading…
Reference in New Issue