Teamcity Bazaar and sftp

I'm trying to get TeamCity to work with a remote Bazaar repo over sftp using username and password. I am using the bzr4j (version 2.4.3) plugin as detailed at http://youtrack.jetbrains.com/issue/TW-7914 to provide support for bazaar in Teamcity.

Using any command line, I can connect to the remote repo via sftp and get the expected response e.g.

bzr info sftp://username@host
Connected (version 2.0, client 9.99)
SSH username@host password: (password here)
Authentication (password) successful!
Secsh channel 1 opened.
[chan 1] Opened sftp connection (server version 3)
Shared repository (format: 2a)
Location:
  shared repository: sftp://username@host/


When doing this from within TeamCity however, it looks as though a connection is established correctly, but it is being interpreted as a connection error e.g.

Exit value: 0 ; Working dir: "c:\TeamCity\bin"
--- STDERR ---
Connected (version 2.0, client 9.99)
Authentication (password) successful!
Secsh channel 1 opened.
[chan 1] Opened sftp connection (server version 3)

---- ARGS ----
bzr
revno
--no-aliases
sftp://username:password@host
--------------


This looks like an issue with bzr4j to me, but I'm not sure. Has anyone had any success with getting Bazaar working over sftp with TeamCity?

2 comments
Comment actions Permalink

Hi Russ

bzr4j is 3rd-party plugin, and its authors do not monitor our forum. It's better to contact them directly at https://launchpad.net/bzr4j.
Previously we at JetBrains tested this plugin, but on HTTP protocol only.

0
Comment actions Permalink

Thanks Michael, I've asked the question on bzr4j's launchpad : https://answers.launchpad.net/bzr4j/+question/206614

When you tested over http, was that for both pulling changes and pushing changes?

0

Please sign in to leave a comment.