随笔分类 - devops
摘要:1.安装插件 2.groovy引用插件 always { script{ cleanWs() } }
阅读全文
摘要:1、提交api开放接口 2、截取lb服务名称 curl -s -H "Authorization:7b9e9852e10e5c7e52f7a80e09ee0a3e17a6815b" -H "Content-Type:application/json;charset=UTF-8" http://172
阅读全文
摘要:1、字体颜色插件 ansicolor https://plugins.jenkins.io/ansicolor/#releases 依赖: https://plugins.jenkins.io/workflow-api/#releases https://plugins.jenkins.io/wor
阅读全文
摘要:1、方法一:使用clean stage('Clean') { steps { cleanWs( cleanWhenAborted: true, cleanWhenFailure: true, cleanWhenNotBuilt: true, cleanWhenSuccess: true, clean
阅读全文
摘要:System.setProperty('org.apache.commons.jelly.tags.fmt.timeZone', 'Asia/Shanghai')
阅读全文