gitlab-ci-webhook

0.0.1 • Public • Published

gitlab-ci-webhook

An express router to handle Gitlab CI build exents

Usage

var express = require('express');
var bodyParser = require('body-parser');
var webhook = require('gitlab-webhook');
var app = express();

app.use(bodyParser.json());
app.use(webhook({
    "url" : "/test",
    "script" : "./test.sh",
    "branches" : "master"
}));
[...]

This module will automatically call the specified script or command whenever the app reveives a build event.

Readme

Keywords

Package Sidebar

Install

npm i gitlab-ci-webhook

Weekly Downloads

0

Version

0.0.1

License

none

Last publish

Collaborators

  • thien42