~pfalcon/linaro-ci-dashboard/bzr_home

Viewing all changes in revision 58.

  • Committer: Paul Sokolovsky
  • Date: 2012-09-18 13:06:35 UTC
  • Revision ID: paul.sokolovsky@linaro.org-20120918130635-8u0ftvl33eef4iy7
Set up and use BZR_HOME within Jenkins server directory.

As Jenkins is run from the current user environment, it will inhererit all
(well, most of) the settings, including bzr's. But bzr has bad habbit of
always using authenticated access for lp: branch URLs, if user is
authenticated once (using "bzr whoami"). So, when a build scripts run in
Jenkins build, and try to pull something from bzr lp:, it tries to
authenticate with user's key, and fails, because there's no interactive
session (or even agent connection) to ask for password, so the command
fails. It turns out that the only way to get around this behavior is to
override BZR_HOME.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: