Jenkin remote ( Call build qua API ) - quan1997ap/Backend-app-note GitHub Wiki

Gen token

image

![image](https://github.com/user-attachments/assets/6512f10d-b5cf-45d8-8e3c-9c9b3955504a)

Get API

image Gọi API get để build

Use the following URL to trigger build remotely: JENKINS_URL/job/jenkin-webhook/build?token=TOKEN_NAME or /buildWithParameters?token=TOKEN_NAME

1. http://10.1.40.172:8080/job/jenkin-webhook/build?token=11a31754879da3e08aca5def214a436cf4
2. http://10.1.40.172:8080/job/jenkin-webhook/buildWithParameters?token=11a31754879da3e08aca5def214a436cf4
⚠️ **GitHub.com Fallback** ⚠️