https://github.com/fabien0102/jenkins-trello
Little node.js passerelle script for link jenkins & trello (put a board background in color)
https://github.com/fabien0102/jenkins-trello
Last synced: 3 months ago
JSON representation
Little node.js passerelle script for link jenkins & trello (put a board background in color)
- Host: GitHub
- URL: https://github.com/fabien0102/jenkins-trello
- Owner: fabien0102
- License: mit
- Created: 2014-01-21T11:53:35.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-11-15T17:20:55.000Z (almost 9 years ago)
- Last Synced: 2025-03-20T03:01:57.383Z (7 months ago)
- Language: JavaScript
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
jenkins-trello
==============Little node.js script to link jenkins & trello (update a board background color after a build).
## Required
This project must have some plugins in jenkins:* [NodeJS plugin](https://wiki.jenkins-ci.org/display/JENKINS/NodeJS+Plugin)
* [Jenkins GIT plugin](http://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin)## Global configuration
Jenkins-trello needs following environment variables:* `TRELLO_APP_KEY` - App key
* `TRELLO_OAUTH_ACCESS_TOKEN` - Token API
* `TRELLO_BOARD` - The trello board will change it backgroundTo generate a token, please see [gettingstarted](https://trello.com/docs/gettingstarted/index.html#getting-a-token-from-a-user)
You can add these variables into *http://{jenkins-server}:8080/configure*
## Trello job
In this part we will create a trello job, this job will be trigged by an other job later.Add a new job and put this configuration:
###Code gestion
GIT Repositorygit@github.com:fabien0102/jenkins-trello.git
### Build environment
Add a node.js environment (cf [NodeJS plugin](https://wiki.jenkins-ci.org/display/JENKINS/NodeJS+Plugin))### Build
Shell scriptnpm install && npm start
## Your job
After your job (with all my tests for example), you just need to set a `Trigger parameterized build on other projects` with following parameters:
You can also set a trigger for `failed` event ;)
Have fun !