How to pass crumb info via bitbucket-hook to jenkins?

后端 未结 1 1344
说谎
说谎 2021-01-24 20:45
curl -X POST http://xxx.yyy.zzz:5555/job/job-name/build --user john-devops-jenkins:11df3ed41129c5c7da1518e9c3149896de -H \'Jenkins-Crumb:31827a74a160347a641c87ddbc8e3b6e         


        
相关标签:
1条回答
  • 2021-01-24 21:18

    After a day of effort and brainstorming of how curl requests execute, finally resolved this issue by configuring bitbucket webhook as below:

    http://jenkins-username:jenkins-password@jenkins-url:5555/job/job-name/build?crumb=crumb_token.

    Hope it helps, many questions are unanswered and all are suggesting to use third party or generic-web-hooks and so on.

    0 讨论(0)
提交回复
热议问题