06 2021 档案

摘要:GET /job/:job-name/:run-id/execution/node/:node-id/wfapi/log https://github.com/jenkinsci/pipeline-stage-view-plugin/tree/master/rest-api#get-jobjob-n 阅读全文
posted @ 2021-06-30 20:19 i舒 阅读(218) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/meiniang/articles/8080401.html pipeline httpResponse 阅读全文
posted @ 2021-06-29 22:25 i舒 阅读(560) 评论(0) 推荐(0) 编辑
摘要:_xx 使用_one_underline来表示该方法或属性是私有的,不属于API; __xx__当创建一个用于python调用或一些特殊情况时,使用__two_underline__; __xx 使用__just_to_underlines,来避免子类的重写(即子类不会重写该方法)! https:/ 阅读全文
posted @ 2021-06-24 08:09 i舒 阅读(91) 评论(0) 推荐(0) 编辑
摘要:sg = "ls"def sout new StringBuilder(), serr new StringBuilder()def proc = ["/bin/bash", "-c", sg].execute()proc.consumeProcessOutput(sout, serr)proc.w 阅读全文
posted @ 2021-06-23 09:29 i舒 阅读(385) 评论(0) 推荐(0) 编辑
摘要:expect send send_user #打印输出 puts打印字符到屏幕 sleep 休眠 xx s wait 等待进程执行结束 expect eof 退出expect进程 set timeout #设置等待超时时长 expect最常用的语法(tcl语言:模式-动作) 单一分支模式语法: ex 阅读全文
posted @ 2021-06-23 08:33 i舒 阅读(609) 评论(0) 推荐(0) 编辑
摘要:我们做脚本编程的时候开头总会遇到以下语句,这些语句就是指定解释器,指定什么解释器就用该解释器运行: #!/usr/bin/bash #!/usr/bin/python #!/usr/bin/expect #!/usr/bin/env python 执行的时候就有两种方式 一种是解释器+脚本 另一种是 阅读全文
posted @ 2021-06-22 08:06 i舒 阅读(140) 评论(0) 推荐(0) 编辑
摘要:需要设置代理的话先设置代理,再安装。 ubuntu docker 安装 apt-get update apt install docker.io systemctl start docker systemctl enable docker Refer to link: https://phoenix 阅读全文
posted @ 2021-06-18 18:52 i舒 阅读(21) 评论(0) 推荐(0) 编辑
摘要:df -h pvdisplay vgdisplay fdisk -l #查看并找出新加磁盘 wipefs -a /dev/sdb #如已有分区表需先擦除,否则可跳过 #在新磁盘创建物理卷: pvcreate /dev/sdb #将新磁盘添加到目标物理卷组 vgextend rootvg /dev/s 阅读全文
posted @ 2021-06-17 19:20 i舒 阅读(84) 评论(0) 推荐(0) 编辑
摘要:设置共享库:https://www.cnblogs.com/mascot1/p/10502768.html jenkinsfile中使用: https://www.cnblogs.com/k4nz/p/14361392.html 阅读全文
posted @ 2021-06-17 09:35 i舒 阅读(95) 评论(0) 推荐(0) 编辑
摘要:安装了openssh-server之后,默认情况下是不允许root用户通过ssh远程登录的,只允许一般用户通过ssh登录系统。要开启root用户远程登录的权限, 需要通过文本编辑器修改配置文件/etc/ssh/sshd_config文件,将PermitRootLogin的选项值设置为yes即可 ht 阅读全文
posted @ 2021-06-16 13:07 i舒 阅读(189) 评论(0) 推荐(0) 编辑
摘要:https://www.jianshu.com/p/e27a978ddb88 https://www.cnblogs.com/lsgxeva/p/8540758.html 阅读全文
posted @ 2021-06-11 08:18 i舒 阅读(23) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/jamespeng/p/14803921.html https://www.cnblogs.com/tylerzhou/p/11444579.html 阅读全文
posted @ 2021-06-11 07:48 i舒 阅读(267) 评论(0) 推荐(0) 编辑