jenkins – Spinnaker:403请求中未包含有效的碎屑

我按如下方式在大三角帆中配置了jenkins并设置了spinnaker管道.

 jenkins:
    # If you are integrating Jenkins, set its location here using the baseUrl
    # field and provide the username/password credentials.
    # You must also enable the "igor" service listed separately.
    #
    # If you have multiple jenkins servers, you will need to list
    # them in an igor-local.yml. See jenkins.masters in config/igor.yml.
    #
    # Note that jenkins is not installed with Spinnaker so you must obtain this
    # on your own if you are interested.
    enabled: ${services.igor.enabled:false}
    defaultMaster:
      name: default
      baseUrl: http://server:8080
      username: spinnaker
      password: password

但是我在尝试运行spinnaker管道时看到以下错误.

例外(开始jenkins工作)
403请求中未包含有效的碎屑

要解决此问题,我在jenkins.com/configureSecurity部分取消选中“防止跨站点请求伪造攻击”,它开始工作.

Prevent Cross Site Request Forgery exploits

翻译自:https://stackoverflow.com/questions/44711696/spinnaker-403-no-valid-crumb-was-included-in-the-request

转载注明原文:jenkins – Spinnaker:403请求中未包含有效的碎屑