承接 mariusz-kraj/gitlab-reporter 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mariusz-kraj/gitlab-reporter

Composer 安装命令:

composer require mariusz-kraj/gitlab-reporter

包简介

Simple package for reporting bugs results to the Gitlab.com merge request in form of the comments

README 文档

README

Instalation

  1. Install from composer
composer require --dev "mariusz-kraj/gitlab-reporter:*"
  1. Add config file ".gitlab-ci-reporter.yml" in the root of your project:
reporters:
    phpunit:
        path: 'tests/_output/report.xml'
        failIfNotFound: true
    phpcs:
        path: 'build/phpcs.xml'
        failIfNotFound: true
    phpmd:
        path: 'build/phpmd.xml'
        failIfNotFound: true
  1. Add 'after_' to your "gitlab-ci.yml":
after_script:
  - bin/gitlab-reporter publish
  1. Generate access code and add secret variable

    1. Go to access token
    2. Give access to API
    3. Copy token
    4. Go to the Project > Settings > CI\CD > Secret Variables
    5. Create ACCESS TOKEN variable with the token as a value
  2. Create a new merge request and wait for comments!

To Do

  • Tests
  • Documentation
  • Config validation
  • PHPUnit Coverage reports
  • Comments with attachments
  • Changing state of merge request depending on the reports
  • Instructions for contributors

Limitations

  • Gitlab CI doesn't have environmental variable with merge request id,library is searching for MR from current branch. If there would be more than one MR from one branch (why?) it will take the first one and ignore rest

统计信息

  • 总下载量: 1.56k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-11-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固