JenkinsでMercurial Pluginを使ってbitbucketのリポジトリにアクセスしてみます。 まずは、マスタのサーバにMercurialをインストールします(Ubuntuです)。 ubuntu@ci: ~$sudo apt-get install mercurial 認証用のSSH鍵を作成していない場合には作成します。ログインしているユーザーではなくJenkinsの実行ユーザーです。 ubuntu@ci: ~$ sudo -u jenkins ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/var/lib/jenkins/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter
![Jenkins Mercurial Pluginでbitbucketにアクセスする - azuki note](https://cdn-ak-scissors.b.st-hatena.com/image/square/897db7c2dbc48903d98b4ac47d9c3ed07441a998/height=288;version=1;width=512/http%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2Fw%2Fw650%2F20110415%2F20110415121508.png)