更新时间:2023-12-05 14:00:34
这里是文档的链接:Jenkins 远程访问 API.
Here is a link to the documentation: Jenkins Remote Access API.
查看提交工作部分.
在您的作业配置中,您设置了一个令牌,然后创建一个 POST
请求到 JENKINS_URL/job/JOBNAME/build?token=TOKEN
.这可能是最基本的用法.
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.