Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Command line utility that integrates Jenkins build information with Pivotal Tracker stories within a project
Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
spec
.gitignore
.rspec
.travis.yml
Gemfile
MIT-LICENSE
README.md
Rakefile
jenkins_tracker.gemspec

README.md

JenkinsTracker

Build Status Gem Version Code Climate

jenkins_tracker is a command line utility packaged as a RubyGem that integrates Jenkins CI build information with Pivotal Tracker stories within a project.

This is an example of a successful build integration:

Jenkins Post Build Action Screenshot

Maintenance Note

This library is no longer being maintained.

Requirements

Jenkins

  • Git as your SCM via the Jenkins Git Plugin.

  • The build changelog file is available at $JENKINS_HOME/jobs/$JOB_NAME/builds/$BUILD_NUMBER/changelog.xml. The changelog contents look like this example.

  • Ruby is available in the environment.

  • Environment variables exists for $JENKINS_HOME, $JOB_NAME, $BUILD_NUMBER & $BUILD_URL.

Pivotal Tracker

Installation

Add this line to your application's Gemfile:

gem 'jenkins_tracker'

And then execute:

$ bundle

Or install it yourself as:

$ gem install jenkins_tracker

Usage

As a Post-build Action script

Requires the Post build task plugin:

# Assuming environment variables for $JENKINS_HOME, $JOB_NAME, $BUILD_NUMBER & $BUILD_URL exists

$ bundle exec jenkins_tracker integrate --tracker-token ABC123456 --tracker-project-id 123456
# => Successfully integrated Jenkins Job $JOB_NAME with Pivotal Tracker Project #123456

Jenkins Post Build Action Screenshot

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
Something went wrong with that request. Please try again.