【问题标题】:Setting up jenkins to use an unfuddle git repository设置 jenkins 以使用 unfuddle git 存储库
【发布时间】:2025-12-17 05:20:02
【问题描述】:

我们使用 unfuddle 来托管我们的 git 存储库。 当我们克隆一个存储库时,我们使用:

git@oursubdomain.unfuddle.com:oursubdomain/repositoryname.git

Jenkins 期待一个网址,但他说:

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

在高级信息中它说:

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

所以,我需要知道我应该指定哪个 URL 才能使其正常工作。甚至,我应该能够让它工作吗?我尝试了一些事情,但想知道是否有人已经解决了这个问题。

附加信息:

【问题讨论】:

    标签: git jenkins unfuddle


    【解决方案1】:

    经过几次尝试,我终于弄清楚了网址

    git@oursubdomain.unfuddle.com:oursubdomain/repositoryname.git
    

    可以按原样使用,尽管有帮助建议。

    我现在可以使用它,但确实需要按照说明为本地系统帐户设置 SSH 密钥等 here

    【讨论】:

      【解决方案2】:

      git 插件帮助确实是错误的,我已经解决了这个问题:https://github.com/jenkinsci/git-plugin/commit/0b7874d7d8d0ae783697ed55fa25125fecc015d6

      【讨论】: