-
Notifications
You must be signed in to change notification settings - Fork 359
Move endpoint implementations to impl package #1058
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
ade4e67
to
c2ffcef
Compare
String hookReceiverURL = BitbucketEndpointProvider.lookupEndpointJenkinsRootURL(source.getServerUrl()) | ||
+ BitbucketSCMSourcePushHookReceiver.FULL_PATH; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems risky; lookupEndpointJenkinsRootURL
might end up using DisplayURLProvider.get().getRoot()
which might return the URL of an alternative root page provided by a plugin. Then the result of the concatenation might not resolve to a page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should replicate the same behavour in abstractbitbucketendpoint
c2ffcef
to
3f01369
Compare
* @return the normalized custom or default Jenkins Root URL value | ||
*/ | ||
@NonNull | ||
public static String getEndpointJenkinsRootUrl(String serverURL) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@KalleOlaviNiemitalo this was the old logic. It's the same of actual. If Jenkins endpoint URL has not been customised for this endpoint than it use the Jenkins default set in Manage Jenkins -> Jenkins Location -> Jenkins URL
446166c
to
5b35640
Compare
5b35640
to
71e0245
Compare
Hi @nfalco79 ! Is there any chance we can get a new release of the plugin soon? Much appreciated! |
In a couple of weeks. The time the bom with blue ocean and actual bitbucket version are released un weekly bom and pr #1061 is completed |
No description provided.