-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
Git plugin versions prior to git plugin 3.7.0 will infer the browser URL if the repository URL is a github.com URL. Git plugin 3.7.0 added browser URL inference for bitbucket.org and gitlab.com URL's.
Stephen Connolly suggested that it would be clearer if the inference were made apparent to the user, rather than being hidden inside the plugin logic. He suggested:
- For regular SCM in old-style jobs... if you see the url as well-known, and the user has not configured a browser, then replace their no-browser with the well-known one in the constructor
- We don't need to do anything for SCMSource impls as they have their own pre-configured subclasses that do the right thing
- For the `git` pipeline step, have it do the inference and log the inference to the build log
- Make the inference logic an ExtensionPoint
- relates to
-
JENKINS-35098 Poor performance of AutoBrowserHolder
- Resolved
- links to