gpt4 book ai didi

git - jenkins git 如何 pull 而不是克隆?

转载 作者:太空狗 更新时间:2023-10-29 14:45:46 24 4
gpt4 key购买 nike

我如何配置它 pull 而不是克隆的 jenkins?

enter image description here

最佳答案

jenkins 中 git 插件的默认行为是:

  1. 如果您的目录为空,请克隆存储库;
  2. 如果存储库已经被克隆,它将被更新。

因此,您的作业第一次运行存储库时将被克隆,第二次将被更新。

关于git - jenkins git 如何 pull 而不是克隆?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28300235/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com