![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
jenkins
爱吃烤串的小胖纸
这个作者很懒,什么都没留下…
展开
-
jenkins时间不同步处理方法
设置上海时间在【系统管理】-【脚本命令行】里运行System.setProperty('org.apache.commons.jelly.tags.fmt.timeZone', 'Asia/Shanghai')转载 2019-01-18 11:51:49 · 2248 阅读 · 0 评论 -
jenkins执行shell命令时,提示“Command not found”处理方法
本机shell命令可以执行,jenkins任务中无法执行,则是jenkins没有加载/etc/profile导致,需要在jenkins调用shell脚本的最前面加一行脚本,#!/bin/bash -ilex,可以通过-i参数和-l参数让bash为login shell and interactive shell,就可以读取/etc/profile和~/.bash_profile等文件#!/bin...转载 2019-01-18 11:58:11 · 14219 阅读 · 2 评论