两侧同时换到之前的修订记录 前一修订版 | |
public:it:jenkins [2020/12/29 16:43] – [Jenkins] oakfire | public:it:jenkins [2022/08/03 09:22] (当前版本) – [Tips] oakfire |
---|
* [[https://wiki.jenkins.io/display/JENKINS/Step+by+step+guide+to+set+up+master+and+agent+machines+on+Windows|设置 windows 节点]], windows 要先安装 JRE。 | * [[https://wiki.jenkins.io/display/JENKINS/Step+by+step+guide+to+set+up+master+and+agent+machines+on+Windows|设置 windows 节点]], windows 要先安装 JRE。 |
* 设置时区:打开 【系统管理】->【脚本命令行】运行下面的命令<code java>System.setProperty('org.apache.commons.jelly.tags.fmt.timeZone', 'Asia/Shanghai')</code> | * 设置时区:打开 【系统管理】->【脚本命令行】运行下面的命令<code java>System.setProperty('org.apache.commons.jelly.tags.fmt.timeZone', 'Asia/Shanghai')</code> |
| * windows 节点,slaver 程序不要注册成服务,如果需要服务,请指定具体用户登录,不要使用 LOCAL SYSTEM 账户。一般直接在桌面右键管理员权限运行就行。 |
| * windows 节点的 git 认证使用GIT_ASKPASS ,所以节点里比较新的版本的 git 需要手动去掉新的认证管理:git config --system --unset credential.helper 否则自动构建下载代码时git操作会提示认证失败(新版jenkins可能已解决) |
| |