【问题标题】:Clone git repo outside jenkins workspace在詹金斯工作区外克隆 git repo
【发布时间】:2014-03-29 08:20:09
【问题描述】:

我正在使用 Git 插件 2.0.3.
我想在 jenkins 工作区之外的某个地方克隆我的 git 存储库。

例如:假设我的 jenkins 工作区是 C:\UserData\jenkins,我想将我的 git repo 克隆到 C:\sumit 目录中。

表格Jenkins build outside of workspace:
它说要使用 Local subdirectory for repo (optional) 选项,但正如您所见,这个版本没有这样的选项可用。

即使我尝试通过使用相对路径来使用check out to a sub-directory 选项,但这也不起作用。

那么有没有办法解决这个问题..?

【问题讨论】:

    标签: git jenkins jenkins-plugins


    【解决方案1】:

    我认为如果你想在你的 jenkins 工作区之外签出你的 git 存储库,你需要在你的机器上安装 git 并将 git 添加到类路径中,然后输入你的推荐进行签出。

    【讨论】:

      猜你喜欢
      • 2019-10-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-07-25
      • 2022-09-27
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多