0.0.9 • Published 10 years ago

bitbucket2jenkins v0.0.9

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

Bitbucket Repo-Push Notification To Jenkins

This Hubot script supports repo:push event of Bitbucket. Only for the push to the specified branch, you will be notified Jenkins.

Supporting

  • Repository Events
    • Push
  • Branch specify

Installation

In your hubot directory, run:

npm install bitbucket2jenkins --save

To enable a script, add the following to the external-scripts.json

["bitbucket2jenkins"]

Configuration

Bitbucket Add webhook

https://bitbucket.org/{owner_name}/{repository_name}/admin/addon/admin/bitbucket-webhooks/bb-webhooks-repo-admin

  • Set following URL

{hubot_url}/bitbucket2jenkins
(exampleURL: http:example.com:8080/bitbucket2jenkins)

Two ways to configure the notification destination

  • Get params(priority)
    http:example.com:8080/bitbucket2jenkins?branch=develop&token=TOKEN=&job=JOBTAG

    + branch	branch name (default: master)
    + job	jenkins job name
    + token	jenkins job invoke token
  • Enviroment variable
    export HUBOT_JENKINS_URL=https://your.jenkins-url.com (Without the last slash)

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago