asdasdasdzxc
V2EX  ›  Java

关于 Git hook 钩子周期加入静态代码分析有没有什么解决方案?

  •  
  •   asdasdasdzxc · Jul 27, 2020 · 1340 views
    This topic created in 2183 days ago, the information mentioned may be changed or developed.

    有点无奈...来求助

    目前是想在 GIT 服务端加入 sonerqube CI 环境但是呢 pre-receive  是接受代码之前的操作,拿不到 push 的代码片段 post-update 是部署阶段了....而已分支的 log 已经发生变化这个时候去做 CI 不通过就要回退太不美观

    如果要在 git client 验证就要做一个 cli 程序去修改工程中.git 程序 先问一下有没有优雅的方案.....

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2568 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 46ms · UTC 15:33 · PVG 23:33 · LAX 08:33 · JFK 11:33
    ♥ Do have faith in what you're doing.