Fix build.get_revision() for GIT repositories
authorSudharshan S <sudharsh@gmail.com>
Tue, 25 Jun 2013 13:32:26 +0000 (19:02 +0530)
committerSudharshan S <sudharsh@gmail.com>
Wed, 26 Jun 2013 09:34:35 +0000 (15:04 +0530)
commited8bc87ff7a24251233347cfbb917b05be2a0a74
tree558f9a3b402acebc65b132626a191290747552ae
parentdcc8767adcdbd71fb1ef9f1fe8855a28ca92f867
Fix build.get_revision() for GIT repositories

Filter out actions which are None or not of interest and then extract the git revision from the lastBuiltRevision. Works in cases where branch is of something other than origin/HEAD
jenkinsapi/build.py