zoukankan      html  css  js  c++  java
  • jenkins git 之 Advanced clone behaviours

    jenins 上的 Git Plugin插件,默认是下载完整的历史版本,随着分支约多,历史版本约多,整个文件会很大,下载常常会超时。

    单独的git命令可以使用以下方式来优化

    git clone --depth=1 https://github.com/bcit-ci/CodeIgniter.git
    
    也就是浅复制

    在Jenkins上也有这样的参数,在Additional Behaviours中,选Advanced clone behaviours,如下图

    这里,我也不多解释,?中都是说明,解释也是多余的。

  • 相关阅读:
    vpp编写plugin
    vrf 命令
    vxlan + 多个vrf
    dpdk helloworld
    Go函数高级
    Go_defer
    Go递归函数
    Go作用域
    Go函数
    Go字符串
  • 原文地址:https://www.cnblogs.com/landhu/p/10564957.html
Copyright © 2011-2022 走看看