如何在Jenkins上更改工作区并建立记录根目录? [英] How to change workspace and build record Root Directory on Jenkins?

查看:752
本文介绍了如何在Jenkins上更改工作区并建立记录根目录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望将詹金斯的数据写入驱动器"E:",因为这是服务器上的大型驱动器. Jenkins本身安装在"C:"上.

I would like Jenkins' data to be written to drive "E:" since this is the large drive on the server. Jenkins itself is installed on "C:".

我该怎么做?

我看到的默认配置是:

工作区根目录:$ {ITEM_ROOTDIR}/workspace
构建记录根目录: $ {ITEM_ROOTDIR}/builds

Workspace Root Directory: ${ITEM_ROOTDIR}/workspace
Build Record Root Directory: ${ITEM_ROOTDIR}/builds

以下更改将帮助我实现我所需要的吗?

Will the following changes help me achieve what I need?

工作区根目录:E:/Jenkins/workspace
构建记录根目录: E:/Jenkins/builds/$ {ITEM_FULL_NAME}

Workspace Root Directory: E:/Jenkins/workspace
Build Record Root Directory: E:/Jenkins/builds/${ITEM_FULL_NAME}

此外,"$ {ITEM_FULL_NAME}"是什么意思?

In addition, what does "${ITEM_FULL_NAME}" mean?

推荐答案

我知道了. 为了将您的Jenkins数据保存在其他驱动器上,您需要执行以下操作:

I figured it out. In order to save your Jenkins data on other drive you'll need to do the following:

工作区根目录:E:\ Jenkins \ $ {ITEM_FULL_NAME} \ workspace
构建记录根目录: E:\ Jenkins \ $ {ITEM_FULL_NAME} \ builds

Workspace Root Directory: E:\Jenkins\${ITEM_FULL_NAME}\workspace
Build Record Root Directory: E:\Jenkins\${ITEM_FULL_NAME}\builds

这篇关于如何在Jenkins上更改工作区并建立记录根目录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆