Mark Waite edited a comment on Bug JENKINS-20643

I can duplicate the problem and believe there is a work around.

If the additional behavior "Force polling using workspace" is added to the Git plugin configuration for the specific job, then I can clone my Visual Studio Online git repository from the Jenkins job.

If I don't add the additional behavior "Force polling using workspace", then the job definition page shows the same error as described in the bug report until I add a global credential for Visual Studio Online.

Once I've added the global credential for Visual Studio Online and referenced it in the plugin definition for that job, then the "ls-remote" message disappears on the Linux machine I'm using as master server. It may yet happen on a Windows server.

In each of those cases, I defined a global credential with my Visual Studio Online user name and password, and used that credential in the Git plugin configuration for the job.

I also can avoid that message if I embed the username and password in the Git URL, though that is much less attractive, since it places the username and password in cleartext in the job definition.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to