Error in Jenkins connection to stash

前端 未结 3 1880
[愿得一人]
[愿得一人] 2021-01-04 09:55

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 m

相关标签:
3条回答
  • 2021-01-04 10:44

    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:password@lab.xyz.com/stash/scm/projects/sandbox.git

    0 讨论(0)
  • 2021-01-04 10:47

    I know its a little late but this worked for me:

    Check if you have install git on the Jenkins server, and check if you have set the git executable path in the Jenkins configuration

    More specifically go to 'Manage Jenkins' -> 'Global Tool Configuration' and check the 'Path to Git executable' field.

    Source: https://serverfault.com/a/669487/212634

    0 讨论(0)
  • 2021-01-04 10:49

    In Global Tool Configuration, where you "set" GIT location: C:/Program Files (x86)/Git/bin/git.exe. Do not forget to include ‘.exe’ extension. It is for Windows.

    0 讨论(0)
提交回复
热议问题