本文介绍了大三角帆:403请求中未包含有效面包屑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我按照以下步骤在大三角帆中配置了詹金斯,并设置了大三角帆管道.
I configured jenkins in spinnaker as follows and setup spinnaker pipeline.
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
但是尝试运行大三角帆管道时出现以下错误.
But I am seeing following error when trying to run spinnaker pipeline.
Exception ( Start Jenkins Job )403 No valid crumb was included in the request
Exception ( Start Jenkins Job )403 No valid crumb was included in the request
推荐答案
要解决此问题,我在jenkins.com/configureSecurity部分中未选中防止跨站点请求伪造漏洞",它开始起作用.
To resolve this issue I unchecked "Prevent Cross Site Request Forgery exploits" in jenkins.com/configureSecurity section and it started working.
这篇关于大三角帆:403请求中未包含有效面包屑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!