1.0.2 • Published 7 years ago

bitbucket_pipeline_build_status v1.0.2

Weekly downloads
3
License
ISC
Repository
github
Last release
7 years ago

This is a simple module to get the build status of a repository that is using Bitbuckets' new pipeline feature.

If you're using this as an npm package, you need to send a config object like the bottom most config.js example. You don't have to use a file, it's just what I've done here.

var bb = require('bitbucket_pipeline_build_status')
var config = require('./config.js')

bb(config, function(value, err){
	console.log(value);
})

If you're just going to use this JS via node main.js then update the config.js.

module.exports = {
    username: "you",
    password: "your password",
    team: "your team",
    repo: "your repo",
    branch: "branch that you want to query"
}
1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago