GithubHelp home page GithubHelp logo

tencentblueking / ci-codecccheckatom Goto Github PK

View Code? Open in Web Editor NEW
12.0 5.0 13.0 572 KB

CodeCC插件(腾讯代码分析插件)

Kotlin 87.98% JavaScript 2.04% CSS 0.52% Vue 9.38% SCSS 0.02% HTML 0.05%
ci plugins

ci-codecccheckatom's Introduction

腾讯代码分析

打包

插件需要打包成zip包形式,分为前端、后端的打包。

[前端]

  1. 替换掉src/frontend/src/index.html的__CODECC_GATEWAY_HOST__ 、 __DEVOPS_GATEWAY_HOST__ 、 __CODECC_GATEWAY_PORT__ 、 __DEVOPS_GATEWAY_PORT__占位符
  2. cd src/frontend
  3. npm install
  4. npm run public

[后端]

  1. cd src/backend/core
  2. gradle clean buildZip
  3. 用src\backend\core\build\distributions\CodeCCCheckAtom.zip上传

配置

  1. 新建插件 内容如图填写 插件调试项目按用户实际定义,一般是常用的调试项目

image

2)需要配置四个配置项: BK_CI_PUBLIC_URL BK_CODECC_ENCRYPTOR_KEY(默认: abcde , 具体和codecc.properties的BK_CODECC_ENCRYPTOR_KEY对齐) BK_CODECC_PRIVATE_URL BK_CODECC_PUBLIC_URL BK_CI_PUBLIC_URL image

3)上架插件 image

需要填写的内容: 插件名称:腾讯代码分析 简介:CodeCC提供专业的代码检查解决方案,检查缺陷、漏洞、规范等多种维度代码问题,为产品质量保驾护航。 详细描述:CodeCC提供专业的代码检查解决方案,检查缺陷、漏洞、规范等多种维度代码问题,为产品质量保驾护航。 发布者:CodeCC 要选中自定义前端: image

其他信息: image

logo: random_15555659555223262843762655521958

4)打包ok就点继续

image

注意: 后续升级插件,尽量不要用不兼容性升级,要选截图这个 image

ci-codecccheckatom's People

Contributors

austingod avatar brookylin avatar caixuanzhen avatar carrywang05 avatar ddlin0719 avatar eazence avatar foxdd avatar irwinsun avatar jamikx1 avatar jimxzcai avatar other-shore-f avatar tangruotian avatar yuanruitao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ci-codecccheckatom's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.