-
Bug
-
Resolution: Not A Defect
-
Blocker
-
None
-
Windows10x64 slave agent
Ubuntu 16.04x64 master agent
I use blue ocean to configure and run my build.
However, when I switch to checkout over SSH, it will not take the setting and will still checkout via HTTP:
> git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url http://bitbucket.SomeCompany.local/scm/~SomeUser/divas.git # timeout=10 Cleaning workspace > git rev-parse --verify HEAD # timeout=10 No valid HEAD. Skipping the resetting > git clean -fdx # timeout=10 Fetching without tags Fetching upstream changes from http://bitbucket.SomeCompany.local/scm/~SomeUser/divas.git > git --version # timeout=10 > git fetch --no-tags --progress http://bitbucket.SomeCompany.local/scm/~SomeUser/divas.git +refs/heads/add-jenkins-file:refs/remotes/origin/add-jenkins-file ERROR: Error fetching remote repo 'origin' hudson.plugins.git.GitException: Failed to fetch from http://bitbucket.SomeCompany.local/scm/~SomeUser/divas.git at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:862) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1129) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1160) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:113)
I can also not add another for the SSH checkout, see the small picture.
Adding a new one via "Add" will not add them as option in the combobox.