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