#2116: gitpoller does not pass environment to git commands
---------------------+----------------------------
Reporter:  msabramo  |      Owner:
    Type:  defect    |     Status:  new
Priority:  major     |  Milestone:  undecided
 Version:  master    |   Keywords:  gitpoller, git
---------------------+----------------------------
 The problem is that gitpoller does not pass the environment to git
 commands. This is problematic when you have a git repository that is
 accessed over ssh using an ssh key with a passphrase and you use ssh-agent
 to cache the keys. In this case, gitpoller does not pass the
 {{{SSH_AGENT_PID}}} and {{{SSH_AUTH_SOCK}}} environment variables so the
 git commands to pull down the repo will fail with errors like:

 {{{
 Failure: twisted.internet.utils._UnexpectedErrorOutput: got stderr:
 "fatal: ambiguous argument 'master..origin/master': unknown revision
 or path not in the working tree.\nUse '--' to separate paths from
 revisions\n"
 }}}

 I modified my buildbot locally to fix this issue and will send a GitHub
 pull request momentarily.

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2116>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits

Reply via email to