JENKINS - Trigger Builds Remotely

Saravanan Seenivasan
Saravanan Seenivasan
5 هزار بار بازدید - 4 سال پیش - How to trigger jenkins build
How to trigger jenkins build remotely

Steps:
Open Project - Configure
Build Triggers - Trigger builds remotely

Using Token Authentication:
- Setup some token value
http://localhost:8080/job/FreeStyle-Project/build?token=TOKEN_NAME

or /buildWithParameters?token=TOKEN_NAME

Trigger from CLI:
http://localhost:8080/job/FreeStyle-Project/build?token=TOKEN_NAME

Run in CLI with User Credentials:
http://your_username:your_password@localhost:8080/job/FreeStyle-Project/build?token=TOKEN_NAME

#jenkins #cicd #triggerbuildremotely
4 سال پیش در تاریخ 1399/10/11 منتشر شده است.
5,060 بـار بازدید شده
... بیشتر