问题描述
我试图将我的Jenkins作业配置为连接到Altassian Stash。我为Jenkins使用。
这里的工作配置细节 - 在源代码管理下,选择git:
Repository Url:
证书:jenkinuser / password(在Jenkins配置的全局证书中定义)
我得到以下错误:
无法连接到存储库:
无法初始化C:\Windows\TEMP\hudson1141847846411984817tmp
(tmp名称不断变化)。
感谢您的帮助。感谢。
我们必须降级到git插件版本1.5.0和git客户端插件版本1.0.7,我们正在运行Jenkins版本1.577。
该git插件将url作为:
I'm trying to configure my Jenkins job to connect to Altassian Stash. I'm using the git plugin for Jenkins.
Here the job configuration details- under source code management, choose git:
Repository Url: https://lab.xyz.com/stash/scm/projects/sandbox.git
Credentials: jenkinuser/password (defined in the global credentials of Jenkins configuration)
I get the following error:
Failed to connect to repository:
Could not init C:\Windows\TEMP\hudson1141847846411984817tmp
(The tmp name keeps changing).
Appreciate any help. Thanks.
We had to downgrade to git plugin version 1.5.0 and git client plugin version 1.0.7 and it worked. We are running Jenkins version 1.577.
That git plugin takes the url as: https://jenkinuser:[email protected]/stash/scm/projects/sandbox.git
这篇关于Jenkins连接存储时发生错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!