]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
add debug message
authorRobin Wittler <robin.wittler@profitbricks.com>
Wed, 3 Aug 2011 12:18:18 +0000 (14:18 +0200)
committerRobin Wittler <robin.wittler@profitbricks.com>
Wed, 3 Aug 2011 12:18:18 +0000 (14:18 +0200)
testgit_build.py

index b666c452ba3630b58ade7ac4f70c8aeeedead98e..f6563f86368e192d5803711afccadaf2fed8f175 100755 (executable)
@@ -139,7 +139,8 @@ if __name__ == '__main__':
                 GIT_COMMITTER_EMAIL = commit.committer.email
                 logger.debug(
                         'Found "%s" in commit-id "%s" at "%s"'
-                        %(GIT_COMMITTER_EMAIL, commit.id, 
+                        %(GIT_COMMITTER_EMAIL, commit.id, repo.active_branch)
+                )
         else:
             raise Exception('No git_committer_email found')
     logger.info('Directory Listing: %s' %(os.listdir(GIT_TARGET_DIR)))