代码之家  ›  专栏  ›  技术社区  ›  chenchuk

Jenkins如何使用Diffgit工具?

  •  0
  • chenchuk  · 技术社区  · 6 年前

    我使用git来管理配置修改。

    我想在jenkins作业期间运行difftool,以允许用户在作业期间决定哪一行是正确的。有没有插件可以做到这一点?

    chen@DEV-Chen:/tmp/configuration_repo$ git status 
    On branch env.env68
    Your branch is up-to-date with 'origin/env.env68'.
    Changes not staged for commit:
      (use "git add <file>..." to update what will be committed)
      (use "git checkout -- <file>..." to discard changes in working 
    directory)
    
        modified:   env.env68/backend.properties
    
    no changes added to commit (use "git add" and/or "git commit -a")
    chen@DEV-Chen:/tmp/configuration_repo$ git difftool -y .
    

    meld running using git difftool

    0 回复  |  直到 6 年前