Skip to content

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

Merged
merged 1 commit into from
Jun 10, 2025

Conversation

nfalco79
Copy link
Member

@nfalco79 nfalco79 commented Jun 7, 2025

No description provided.

@nfalco79 nfalco79 force-pushed the feature/move_endpoint_to_impl_package branch 4 times, most recently from ade4e67 to c2ffcef Compare June 7, 2025 22:04
Comment on lines 170 to 171
String hookReceiverURL = BitbucketEndpointProvider.lookupEndpointJenkinsRootURL(source.getServerUrl())
+ BitbucketSCMSourcePushHookReceiver.FULL_PATH;
Copy link
Contributor

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.

Copy link
Member Author

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

@nfalco79 nfalco79 force-pushed the feature/move_endpoint_to_impl_package branch from c2ffcef to 3f01369 Compare June 8, 2025 09:09
* @return the normalized custom or default Jenkins Root URL value
*/
@NonNull
public static String getEndpointJenkinsRootUrl(String serverURL) {
Copy link
Member Author

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

@nfalco79 nfalco79 marked this pull request as ready for review June 8, 2025 09:14
@nfalco79 nfalco79 force-pushed the feature/move_endpoint_to_impl_package branch 3 times, most recently from 446166c to 5b35640 Compare June 8, 2025 09:38
@nfalco79 nfalco79 force-pushed the feature/move_endpoint_to_impl_package branch from 5b35640 to 71e0245 Compare June 8, 2025 09:39
@nfalco79 nfalco79 merged commit 24931a4 into master Jun 10, 2025
17 checks passed
@nfalco79 nfalco79 deleted the feature/move_endpoint_to_impl_package branch June 10, 2025 00:51
@car-roll
Copy link
Contributor

Hi @nfalco79 ! Is there any chance we can get a new release of the plugin soon? Much appreciated!

@nfalco79
Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants