Skip to content
This repository has been archived by the owner on Jul 23, 2021. It is now read-only.

Script to deliver finished Pivotal Tracker stories in a commit range

License

Notifications You must be signed in to change notification settings

goodeggs/pivotal-deliver-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pivotal-deliver-cli

npm install --save pivotal-deliver-cli

Script to deliver finished Pivotal Tracker stories in a commit range.

Uses https://github.com/Wizcorp/node-pivotal to connect with the Pivotal API (v3, which is old, but sufficient).

Intended to be run with a deployment tool (which is aware of the Git SHA of each build), as a final step after deploying code.

Run with the following set on the environment:

  • PIVOTAL_TOKEN
  • PIVOTAL_PROJECT_ID
  • CURRENT_COMMIT - SHA indicating end of commit range
  • PREVIOUS_COMMIT - SHA indicating beginning of commit range.

./node_modules/.bin/pivotal_deliver

Script will:

  1. Parse story IDs from the commit log in the given range.
  2. Find corresponding Finished stories in the given Pivotal project.
  3. Set those stories to Delivered, and add a comment.
  4. Report to stdout.

About

Script to deliver finished Pivotal Tracker stories in a commit range

Resources

License

Stars

Watchers

Forks

Packages

No packages published