kanso/kanso — Issue #347: Add build info to design doc
Author: ryanramage
Created: 2011-12-29 19:01:13+00:00
State: open

Dev-ops love to trace deployed apps! Reupholster adds the following to the deployed design doc:

"buildInfo" : { "build_timestamp" : 1325142121194, "build_date" : "12/29/11 2:02 AM", "build_by" : "Reupholster", "BUILD_NUMBER" : "33", "BUILD_TAG" : "jenkins-Eckoit-stage-QA-33", "GIT_COMMIT" : "ca5d99a1175ce2bb0d06313e8f0ee410200090b1", "GIT_BRANCH" : null, "SVN_RESION" : null }

Kanso would be that much better if it also added similar informaton to the design doc.

Some considerations are environment variables that get set while using various build systems. Here are the ones that hudson/jenkins uses:

http://wiki.hudson-ci.org/display/HUDSON/Building+a+software+project#Buildingasoftwareproject-HudsonSetEnvironmentVariables

Might want to investigate what travis-ci sets.