08 2021 档案

摘要:1、卸载数据盘 [root@localhost ~]# umount /dev/sda1 2、使用fdisk /dev/sda 对数据盘分区操作 [root@localhost ~]# fdisk /dev/sda WARNING: The size of this disk is 3.0 TB ( 阅读全文
posted @ 2021-08-30 15:58 没有猫的猫奴 阅读(376) 评论(0) 推荐(0)
摘要:echo 1 2 4|sed s/[[:space:]]//g 阅读全文
posted @ 2021-08-11 14:33 没有猫的猫奴 阅读(91) 评论(0) 推荐(0)
摘要:stage('获取git提交信息') { steps { script { git_commit = sh (script: 'git log -1 --pretty=%B ${GIT_COMMIT}', returnStdout: true).trim() echo "git_commit: ${ 阅读全文
posted @ 2021-08-11 14:28 没有猫的猫奴 阅读(159) 评论(0) 推荐(0)
摘要:stage('获取触发任务用户') { steps { script { def BUILD_TRIGGER_BY = "${currentBuild.getBuildCauses()[0].shortDescription}" BUILD_TRIGGER_BY = sh (script: "ech 阅读全文
posted @ 2021-08-11 14:26 没有猫的猫奴 阅读(174) 评论(0) 推荐(0)
摘要:curl -I -o /dev/null -s -w %{http_code} www.baidu.com 参考: http://events.jianshu.io/p/c286f9c25c94 http://beerpla.net/2010/06/10/how-to-display-just-th 阅读全文
posted @ 2021-08-06 18:04 没有猫的猫奴 阅读(185) 评论(0) 推荐(0)