Jenkins: 403 No valid crumb was included in the request

前端 未结 16 1879
野性不改
野性不改 2020-12-05 01:44

I configured jenkins in spinnaker as follows and setup spinnaker pipeline.

 jenkins:
    # If you are integrating Jenkins, set its location here using the bas         


        
16条回答
  •  忘掉有多难
    2020-12-05 02:18

    I solved by using API TOKEN as basic authentication password. Here is how

    curl -v -X POST http://jenkins-url:8080/job//buildWithParameters?param=value --user :
    

    Note: To Created the API TOKEN under Accounts icon -> configure -> API Token -> Add New token

提交回复
热议问题