05 2019 档案
jenkins pipeline中获取shell命令的标准输出或者状态
摘要://获取标准输出//第一种 //第二种 //第三种 //获取执行状态 //第一种 //第二种 //第三种 //无需返回值,仅执行shell命令 //最简单的方式 例如: 工作中需要获取shell 命令的执行状态,返回0或者非0groovy语句写法为: 如果grep命令执行没有报错,正常情况下exit 阅读全文
posted @ 2019-05-29 13:39 chester·chen 阅读(16171) 评论(0) 推荐(0)
jenkinsfile
摘要:https://blog.csdn.net/diantun00/article/details/81075007 https://www.cnblogs.com/stulzq/p/10115589.html 阅读全文
posted @ 2019-05-29 13:35 chester·chen 阅读(359) 评论(0) 推荐(0)
Git pull记住密码
摘要:在使用https git拉取代码时,每次git pull的时候都会让输入用户名和密码 进入项目目录 命令:git config --global credential.helper store 然后会生成一个本地文件用于记录用户名和密码,这个文件我们无需关心 再次git pull一下,会让输入用户名 阅读全文
posted @ 2019-05-29 13:32 chester·chen 阅读(2219) 评论(0) 推荐(0)
jenkins pipline
摘要:def getHost(){ def remote = [:] remote.name = 'server02' remote.host = '39.19.90' remote.user = 'root' remote.port = 22 remote.password = '#########' remote.allowAnyHosts ... 阅读全文
posted @ 2019-05-29 11:56 chester·chen 阅读(331) 评论(0) 推荐(0)
redis安装
摘要:一、安装redis 第一步:下载redis安装包 wget http://download.redis.io/releases/redis-4.0.6.tar.gz 第二步:解压压缩包 tar -zxvf redis-4.0.6.tar.gz 第三步:yum安装gcc依赖 yum install g 阅读全文
posted @ 2019-05-25 18:42 chester·chen 阅读(192) 评论(0) 推荐(0)
Identityserver4证书
摘要:dotnet应用用IdentityServer4做了登陆的功能,本地运行没有问题,部署到服务器上面就出现上面的问题,打开服务器的日志记录开关,获取到下面的异常信息。原来是 通过分析日志信息,发现报错的原因是因为IdentityServer4的加密签名导致的。 IS4中如果token的类型是JWT,则 阅读全文
posted @ 2019-05-25 14:25 chester·chen 阅读(1124) 评论(0) 推荐(0)

点击右上角即可分享
微信分享提示