@jenius2/j2-gitlab-data-collector
Collects data about gitlab projects
Last updated 3 years ago by j2techlead .
ISC · Repository · Original npm · Tarball · package.json
$ cnpm install @jenius2/j2-gitlab-data-collector 
SYNC missed versions from official npm registry.

node-j2-gitlab-data-collector build status coverage report

Description

Table of Contents

Install

npm install --save @jenius2/j2-gitlab-data-collector

Usage

const gitlab = require('@jenius2/j2-gitlab-data-collector');

const options = {
  url: process.env.GITLAB_URL,
  token: process.env.GITLAB_TOKEN
};

gitlab(options)
.then(res => console.log)
.catch(err => console.error);

The above will return an array of object that have the following shape:


[
  {
    id: 93,
    name: 'microservice-cards',
    description: '',
    webUrl: 'https://git.ecommchannels.com/jenius2/microservice-cards',
    buildBadgeUrl: 'https://git.ecommchannels.com/jenius2/microservice-cards/badges/master/build.svg',
    coverBadgeUrl: 'https://git.ecommchannels.com/jenius2/microservice-cards/badges/master/coverage.svg',
    buildStatus: 'success',
    coverage: '54',
    tag: 'v0.7.0-rc.3'
  }
]

Current Tags

  • 0.3.0                                ...           latest (3 years ago)

3 Versions

  • 0.3.0                                ...           3 years ago
  • 0.2.1                                ...           3 years ago
  • 0.2.0                                ...           3 years ago

Copyright 2014 - 2016 © taobao.org |