匿名远程启动jenkins的job
作者:互联网
- 安装jenkins插件Build Authorization Token Root
- job配置中的构建触发器,勾选触发远程构建,输入要用的令牌,如soul
- 通过jenkins地址调用触发
- 非参数化job:http://${jenkins_url}/buildByToken/build?job=${job_name}&token=${token}
- 参数化job:http://${jenkins_url}/buildByToken/buildWithParameters?job=${job_name}&token=${token}&${param_key}=${param_value}
标签:http,匿名,job,param,buildByToken,token,jenkins 来源: https://www.cnblogs.com/soultraitor/p/16654009.html