• 请不要在回答技术问题时复制粘贴 AI 生成的内容
c742435
V2EX  ›  程序员

求 Jenkins 的 Git 插件的正确使用方式

  •  
  •   c742435 · Jul 7, 2015 · 3991 views
    This topic created in 4053 days ago, the information mentioned may be changed or developed.

    需求就是从远程仓库拉下来,编完了再给推回去。
    然后用插件就怎么都搞不定。拉没问题,推不上去。那几个勾选项我也看不懂。

    怒了直接用shell搞定了,但还是很不解这玩意到底怎么用,求哪位大哥能给讲讲。

    2 replies    2015-10-03 01:31:34 +08:00
    beneo
        1
    beneo  
       Jul 7, 2015
    我们是这样搞的,不是很专业,但是能用

    1. gitlab ce
    2. 用git账号在gitlab上面注册了,项目是intern
    3. git账号的那台机器,直接能够git clone把项目来下来
    4. jenkins里new project的时候,git地址贴上去没有任何错误
    5. 在SCM里面,* * * * * * 这样每2分钟自动检查一下git版本,看要不要拉下来
    6. 自己的shell打包脚本,在日常上打包
    7. 自己的shell检查脚本,curl 一下 preload.html 页面是否正常
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3071 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 00:23 · PVG 08:23 · LAX 17:23 · JFK 20:23
    ♥ Do have faith in what you're doing.