jenkins-build-trigger

1.0.1 • Public • Published

jenkins-build-trigger

Allows to trigger builds via the api

Installation

npm i --save-dev jenkins-build-trigger

Usage

It is recommended to path the credentials using dotenv:

const deploy = require('jenkins-build-trigger');

deploy({
    buildUrl: deployJobUrl,
    username: process.env.JENKINS_USERNAME,
    token: process.env.JENKINS_TOKEN
    }, (err) => {
        // do whatever after the deploy
    });

Package Sidebar

Install

npm i jenkins-build-trigger

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

10.5 kB

Total Files

10

Last publish

Collaborators

  • andreas-schoenefeldt