58
|
|
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.
|
Paul Sokolovsky |
11 years ago
|
|
|
57
|
|
|
Paul Sokolovsky |
11 years ago
|
|
|
56
|
|
|
Paul Sokolovsky |
11 years ago
|
|
|
55
|
|
|
James Tunnicliffe |
11 years ago
|
|
|
54
|
|
|
Paul Sokolovsky |
11 years ago
|
|
|
53
|
|
|
Paul Sokolovsky |
11 years ago
|
|
|
52
|
|
|
Paul Sokolovsky |
11 years ago
|
|
|
51
|
|
|
Milo Casagrande |
11 years ago
|
|
|
50
|
|
|
Milo Casagrande |
11 years ago
|
|
|
49
|
|
|
Stevan Radakovic |
11 years ago
|
|
|
48
|
|
|
Stevan Radakovic |
11 years ago
|
|
|
47
|
|
|
Paul Sokolovsky |
11 years ago
|
|
|
46
|
|
|
Milo Casagrande |
11 years ago
|
|
|
45
|
|
|
Paul Sokolovsky |
11 years ago
|
|
|
44
|
|
|
Stevan Radakovic |
11 years ago
|
|
|
43
|
|
|
Milo Casagrande |
11 years ago
|
|
|
42
|
|
|
Stevan Radakovic |
11 years ago
|
|
|
41
|
|
|
Milo Casagrande |
11 years ago
|
|
|
40
|
|
|
Stevan Radakovic |
11 years ago
|
|
|
39
|
|
|
Milo Casagrande |
11 years ago
|
|
|