Jane
Jane

Reputation: 2043

Setting up jenkins to use an unfuddle git repository

We use unfuddle to host our git repositories. When we clone a repository, we use:

[email protected]:oursubdomain/repositoryname.git

Jenkins is expecting a url however and says:

Specify the URL of this remote repository. This uses the same syntax as your git clone command.

In the advanced information for this it says:

Specify the repository to track. This can be a URL or a local file path. Note that for super-projects (repositories with submodules), only a local file path or a complete URL is valid. For instance, user@host:/path is not a valid URL

So, what I need to know is what URL I should specify to enable this to work. Or even, should I be able to get this to work? I have tried a few things but wondered if anyone had already solved this.

Additional information:

Upvotes: 0

Views: 3026

Answers (2)

nicolas de loof
nicolas de loof

Reputation: 2633

git plugin help is indeed wrong, I've fixed this : https://github.com/jenkinsci/git-plugin/commit/0b7874d7d8d0ae783697ed55fa25125fecc015d6

Upvotes: 0

Jane
Jane

Reputation: 2043

After a few attempts, I finally worked out that the url

[email protected]:oursubdomain/repositoryname.git

can be used as is, despite what the help suggested.

I have got this to work now, but did need to set up SSH keys etc for the local system account as per the instructions here

Upvotes: 0

Related Questions