0.0.9 • Published 8 years ago

bitbucket2jenkins v0.0.9

Weekly downloads
3
License
MIT
Repository
github
Last release
8 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

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago