[Jenkins]Error:403 No valid crumb was included in the request
错误备忘
配置 jenkins
的时候,一直报这个错,是因为 jenkins
默认安全设置里面开启了 防止款站点请求伪造
。
方法:
取消勾选这一项,就可以成功集成了
位置: Jenkins > 全局安全配置 > CSRF Protection
以前配置的时候都会上来先关掉这个,今天忘记了,一直报标题的错误。特记录下来,防止自己以后再忘记。
附:让jenkins以root权限执行shell命令
- 打开此脚本(使用VIM或其他编辑器):
vim /etc/sysconfig/jenkins
复制代码
- 找到
$JENKINS_USER并更改为“root”
:
$JENKINS_USER="root"
复制代码
- 然后更改Jenkins主页,webroot和日志的所有权:
chown -R root:root /var/lib/jenkins
chown -R root:root /var/cache/jenkins
chown -R root:root /var/log/jenkins
复制代码
- 重新启动Jenkins并检查用户是否已更改:
service jenkins restart
ps -ef | grep jenkins
复制代码
参考链接:
- [stackoverflow]403 No valid crumb was included in the request
- [stackoverflow]un shell command in jenkins as root user?
我的博客:
- vimiix.com
转载于:https://juejin.im/post/5a71a1046fb9a01cab28925d
[Jenkins]Error:403 No valid crumb was included in the request相关推荐
- jenkins 出现“Error 403 No valid crumb was included in the request ”的解决方案
背景介绍 开发的jenkins job 在local的 一台windows 上,而我们测试的jenkins job 在azure 上的一台windows server 2012 上.由于 azure上 ...
- Error 403 No valid crumb was included in the request 报错解决 容器化jenkins关闭CSRF
现象 gitlab 连接 安装在容器中的jenkins时,如果使用的是高版本的 jenkins ,会出现403错误,Error 403 No valid crumb was included in t ...
- HTTP ERROR 403 No valid crumb was included in the request ~jenkins 太高的版本错误。降低版本
HTTP ERROR 403 No valid crumb was included in the request URI: /buildByToken/build STATUS: 403 MESSA ...
- 解决Error:403 No valid crumb was included in the request
Jenkins错误备忘:Error:403 No valid crumb was included in the request 在Jenkins上创建流水线后不能save,报这个错. 解决办法: 登 ...
- 火狐Error 403 No valid crumb was included in the request并且浏览器一直是loading中
我用 linux 的火狐使用 jenkins 的时候报出 Error 403 No valid crumb was included in the request 然后访问 jenkins 的一些配置 ...
- jenkins2.3031 出现“Error 403 No valid crumb was included in the request ”的解决方案
jenkins2.3031 出现"Error 403 No valid crumb was included in the request "的解决方案 记录一下,在配置jenki ...
- 【笔记】Jenkins- 解决 “Error 403 No valid crumb was included in the request“
目录 问题 解决办法(亲测) 问题 HTTP ERROR 403 No valid crumb was included in the request 解决办法(亲测) Dashboard -> ...
- Jenkins RestAPI调用出现Error 403 No valid crumb was included in the request [亲测有用]
方法一(不推荐): 在jenkins 的Configure Global Security下 , 取消"防止跨站点请求伪造(Prevent Cross Site Request Forger ...
- 新版Jenkins关闭CSRF“HTTP ERROR 403 No valid crumb was included in the request“
新版Jenkins关闭CSRF hudson.security.csrf.GlobalCrumbIssuerConfiguration.DISABLE_CSRF_PROTECTION = true & ...
最新文章
- python自学行_python自学行吗 新手可以自学python吗
- InetAddressSocket使用总结
- win10使用Composer-Setup安装Composer以及使用Composer安装Yii2最新版
- TCP/IP笔记-ARP协议包结构相关笔记
- -3dB下的正确率是100%!!!
- [Java] 1010. Radix (25)-PAT甲级
- android打开视频噔_如何运行两种游戏数据包(视频教程)
- Vue响应式数据: Observer模块实现 1
- H5(仅仅是个地址)
- 软件工程概述思维导图总结(一)
- Windows Server 2008 R2 Enterpris服务器上安装一个Moodle
- 设计模式--状态模式(C语言实现)
- dm9000数据速率_STM32F103战舰DM9000的LWIP例程TCP速度慢,发送间隔太长
- 台式机和计算机有什么区别,笔记本电脑和台式电脑有什么区别
- Arduino LED闪烁
- 如何读懂EDIFACT报文?
- 从信号处理的角度研究毫米波联合雷达通信
- Excel如何批量在空白单元格录入相同内容
- PHP里把括号变成英文的方法,php怎么去除括号
- 学计算机的演员,南开大学计算机系到演员 张桐回顾“不安分”的青春
热门文章
- 平衡二叉树及其操作实现_平衡二叉树(AVL树)及C语言实现
- 天龙源码框架分析_MySQL8-InnoDB总体架构和运行机制的系统分析(上)
- dao传递类参数 mybatis_MyBatis DAO层传递参数到mapping.xml 几种方式
- Delphi XE 10.4 FMX ListView 一个不易察觉的 BUG
- v8 编译 linux,安装与编译 Javascript V8 Engine
- 网关的作用是什么_SpringCloud中Zuul网关原理及其配置,看它就够了
- linux:命令常用操作
- 【总结】有三AI大量原创视频和图文资料,你都存下来了吗
- 【caffe解读】 caffe从数学公式到代码实现3-shape相关类
- 动态生成控件的消息处理