Jenkins Remote Trigger Not Working

前端 未结 9 871
自闭症患者
自闭症患者 2021-02-03 22:54

I am getting the following error when i try triggering a build using the following command:

curl http://jenkins_server:port/jenkins/job/job_name/build?token=token_name

9条回答
  •  感动是毒
    2021-02-03 23:17

    In my case i had the URL and token correct, but had forgotten one of the required permissions for the API user that triggers the URL/build.

    The permissions have to minimally include the list here:

    • Overall - Read
    • Job - Build
    • Job - Read
    • Job - Workspace

提交回复
热议问题