-
Bug
-
Resolution: Cannot Reproduce
-
Blocker
-
None
Jenkins is integrated with Bitbucket Cloud by using Bitbucket Username and Password.
I have configured Jenkins Multi-branch Pipeline with Shared Library. For shared library Folder level library call is configured.
While we add default version as the "main" branch so getting error : Cannot validate default version.
hudson.plugins.git.GitException: Command "/usr/bin/git ls-remote -h -- https://bitbucket.org/****/****.git" returned status code 128: stdout: stderr: fatal: unable to access '*https://https://**bitbucket.org/*_/*****/_***.git/': URL using bad/illegal format or missing URL
Added Bitbucket URL is in format of https://bitbucket.org/*****/*****.git, still in above logs we can see https is called twice somehow.
Additionally if i update Bitbucket URL as : https://username@bitbucket.org/_*/*_.git, then magically error getting vanished.