更新时间:2023-12-05 13:59:46
Here is a link to the documentation: Jenkins Remote Access API.
查看提交工作部分.
在作业配置中,您设置一个令牌,然后向JENKINS_URL/job/JOBNAME/build?token=TOKEN
创建一个POST
请求.那可能是最基本的用法.
In your job configuration you setup a token and then create a POST
request to JENKINS_URL/job/JOBNAME/build?token=TOKEN
. That's probably the most basic usage.