Socket
Socket
Sign inDemoInstall

@absolunet/bamboo-connector

Package Overview
Dependencies
20
Maintainers
3
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @absolunet/bamboo-connector

Bamboo connector via OAuth2 and basic with Axios


Version published
Weekly downloads
4
Maintainers
3
Install size
6.99 MB
Created
Weekly downloads
 

Readme

Source

@absolunet/bamboo-connector

npm npm dependencies npms Travis CI Code style ESLint

Bitbucket API wrapper via OAuth2

Authenticate to Atlassian Bamboo API via OAuth2 or basic with Axios

Install

$ npm install @absolunet/bamboo-connector

Usage

const BambooConnector = require('@absolunet/bamboo-connector');


const basicBamboo = new BambooConnector({
	auth: {
		type: 'basic',
		username: 'lkjhgfdsa',
		secret: 'mnbvcxz'
	},
	url: 'https://bamboo.domain.com'
}); // axios instance

const oauthBamboo = new BambooConnector({
	auth: {
		type: 'oauth2',
		key: 'zyxwvutsrqponmlkji',
		secret: 'abcdefghijklmnopqrstuvwxyz012345'
	},
	url: 'https://bamboo.domain.com'
}); // axios instance

Then, you can make direct API calls

basicBamboo.get(`/rest/api/latest/result/${PROJECT_KEY}-${PLAN_KEY}`)
	.then((results) => {
		// do wathever you want
	});

Keywords

FAQs

Last updated on 22 Jul 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc