[JIRA] (JENKINS-59830) Support google cloud source repos with git client plugin
Title: Message Title Mark Waite updated an issue Jenkins / JENKINS-59830 Support google cloud source repos with git client plugin Change By: Mark Waite Google cloud source repositories can host Git repositories (optionally copied from Bitbucket or GitHub) on Google cloud infrastructure.When I configured a Google cloud source repository with my Google account, it offered an SSH url format that is not supported by the Jenkins git client plugin. The URL format is:{noformat}ssh://mark.earl.wa...@gmail.com@source.developers.google.com:2022/p/jenkins-plugins-markewaite/r/github_markewaite_git-client-plugin{noformat}Note that there is an extra '@' character embedded in the username portion of that ssh URL. I've never seen the '@' character as an allowed part of the username or password in a URL, but I assume it must be allowed.When the git client plugin checks the remote server for branches, it detects the branches correctly using the {{git ls-remote}} command. However, when it attempts to clone the repository, the message is:{noformat}Fetching upstream changes from ssh://mark.earl.waite%40gmail@source.developers.google.com:2022/p/jenkins-plugins-markewaite/r/github_markewaite_git-client-plugin > git fetch --tags --force --progress --prune -- ssh://mark.earl.waite%40gmail@source.developers.google.com:2022/p/jenkins-plugins-markewaite/r/github_markewaite_git-client-plugin +refs/heads/*:refs/remotes/google-cloud/* # timeout=10ERROR: Error fetching remote repo 'google-cloud'hudson.plugins.git.GitException: Failed to fetch from ssh://mark.earl.waite%40gmail@source.developers.google.com:2022/p/jenkins-plugins-markewaite/r/github_markewaite_git-client-plugin at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:897) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1112) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1143) at hudson.scm.SCM.checkout(SCM.java:504) at hudson.model.AbstractProject.checkout(AbstractProject.java:1208) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499) at hudson.model.Run.execute(Run.java:1815) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429)Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --force --progress --prune -- ssh://mark.earl.waite%40gmail@source.developers.google.com:2022/p/jenkins-plugins-markewaite/r/github_markewaite_git-client-plugin +refs/heads/*:refs/remotes/google-cloud/*" returned status code 128:stdout: stderr: Host key verification failed.fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists. at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2372) at
[JIRA] (JENKINS-59830) Support google cloud source repos with git client plugin
Title: Message Title Mark Waite updated an issue Jenkins / JENKINS-59830 Support google cloud source repos with git client plugin Change By: Mark Waite Google cloud source repositories can host Git repositories (optionally copied from Bitbucket or GitHub) on Google cloud infrastructure.When I configured a Google cloud source repository with my Google account, it offered an SSH url format that is not supported by the Jenkins git client plugin. The URL format is:{noformat}ssh://mark.earl.wa...@gmail.com@source.developers.google.com:2022/p/jenkins-plugins-markewaite/r/github_markewaite_git-client-plugin{noformat} Note that there is an extra '@' character embedded in the username portion of that ssh URL. I've never seen the '@' character as an allowed part of the username or password in a URL, but I assume it must be allowed.When the git client plugin checks the remote server for branches, it detects the branches correctly using the {{git ls-remote}} command. However, when it attempts to clone the repository, the message is:{noformat}Fetching upstream changes from ssh://mark.earl.waite%40gmail@source.developers.google.com:2022/p/jenkins-plugins-markewaite/r/github_markewaite_git-client-plugin > git fetch --tags --force --progress --prune -- ssh://mark.earl.waite%40gmail@source.developers.google.com:2022/p/jenkins-plugins-markewaite/r/github_markewaite_git-client-plugin +refs/heads/*:refs/remotes/google-cloud/* # timeout=10ERROR: Error fetching remote repo 'google-cloud'hudson.plugins.git.GitException: Failed to fetch from ssh://mark.earl.waite%40gmail@source.developers.google.com:2022/p/jenkins-plugins-markewaite/r/github_markewaite_git-client-plugin at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:897) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1112) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1143) at hudson.scm.SCM.checkout(SCM.java:504) at hudson.model.AbstractProject.checkout(AbstractProject.java:1208) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499) at hudson.model.Run.execute(Run.java:1815) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429)Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --force --progress --prune -- ssh://mark.earl.waite%40gmail@source.developers.google.com:2022/p/jenkins-plugins-markewaite/r/github_markewaite_git-client-plugin +refs/heads/*:refs/remotes/google-cloud/*" returned status code 128:stdout: stderr: Host key verification failed.fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists. at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2372) at
[JIRA] (JENKINS-59830) Support google cloud source repos with git client plugin
Title: Message Title Mark Waite created an issue Jenkins / JENKINS-59830 Support google cloud source repos with git client plugin Issue Type: Improvement Assignee: Mark Waite Components: git-client-plugin Created: 2019-10-17 19:39 Environment: Jenkins 2.190.1 Git client plugin 3.0.0-beta11 Priority: Major Reporter: Mark Waite Google cloud source repositories can host Git repositories (optionally copied from Bitbucket or GitHub) on Google cloud infrastructure. When I configured a Google cloud source repository with my Google account, it offered an SSH url format that is not supported by the Jenkins git client plugin. The URL format is: ssh://mark.earl.wa...@gmail.com@source.developers.google.com:2022/p/jenkins-plugins-markewaite/r/github_markewaite_git-client-plugin
[JIRA] (JENKINS-59830) Support google cloud source repos with git client plugin
Title: Message Title Mark Waite assigned an issue to Unassigned Jenkins / JENKINS-59830 Support google cloud source repos with git client plugin Change By: Mark Waite Assignee: Mark Waite Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202565.157134115.10040.1571341200189%40Atlassian.JIRA.