Skip to content
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

[JENKINS-62669] Removing Bitbucket support #148

Merged
merged 1 commit into from
Oct 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ manner, polling will check if the upstream repository contains any new
changes, and use that as the triggering condition of the new build.
 This plugin is currently intended to support Mercurial 1.0 and later.

Viewers included are `bitbucket`, `fisheye`, `google-code`, `hgweb`,
`kiln`, and `rhodecode`.
Viewers are included for various hosted services.

### Push Notifications

Expand Down
81 changes: 0 additions & 81 deletions src/main/java/hudson/plugins/mercurial/browser/BitBucket.java

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion src/main/resources/index.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div>
This plugin integrates <a href="http://www.selenic.com/mercurial/">Mercurial SCM</a> with Jenkins.
It includes repository browsing support for <code>hg serve</code>/<code>hgweb</code>,
Google Code, Bitbucket, FishEye, KilnHG and RhodeCode. Features include guaranteed clean builds, named branch
as well as hosted services like Google Code. Features include guaranteed clean builds, named branch
support, module lists, Mercurial tool installation, and
automatic caching.
</div>

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ public class HgBrowserSelectionTest {
FreeStyleProject p = (FreeStyleProject) j.jenkins.getItem("foo");
MercurialSCM ms = (MercurialSCM) p.getScm();
final HgBrowser browser = ms.getBrowser();
assertEquals("wrong url", "http://bitbucket.org/", browser.getUrl().toString());
assertTrue("class:" + browser.getClass(), browser instanceof BitBucket);
j.assertEqualBeans(new BitBucket("http://bitbucket.org/"), browser, "url");
assertEquals("wrong url", "http://code.google.com/p/xxx/source/", browser.getUrl().toString());
assertTrue("class:" + browser.getClass(), browser instanceof GoogleCode);
j.assertEqualBeans(new GoogleCode("http://code.google.com/p/xxx/source/"), browser, "url");
}

@Issue("JENKINS-4514")
Expand All @@ -47,11 +47,11 @@ public class HgBrowserSelectionTest {
FreeStyleProject p = (FreeStyleProject) j.jenkins.getItem("foo");
MercurialSCM ms = (MercurialSCM) p.getScm();
final HgBrowser browser = ms.getBrowser();
assertEquals("wrong url", "http://bitbucket.org/", browser.getUrl().toString());
assertTrue("class:" + browser.getClass(), browser instanceof BitBucket);
j.assertEqualBeans(new BitBucket("http://bitbucket.org/"), browser, "url");
assertEquals("wrong url", "http://code.google.com/p/xxx/source/", browser.getUrl().toString());
assertTrue("class:" + browser.getClass(), browser instanceof GoogleCode);
j.assertEqualBeans(new GoogleCode("http://code.google.com/p/xxx/source/"), browser, "url");
final List<Descriptor<RepositoryBrowser<?>>> browserDescriptors = ms.getDescriptor().getBrowserDescriptors();
assertTrue("Could not find BitBucket in " + browserDescriptors, browserDescriptors.contains(browser.getDescriptor()));
assertTrue("Could not find GoogleCode in " + browserDescriptors, browserDescriptors.contains(browser.getDescriptor()));
}

@Issue("JENKINS-20186")
Expand Down
Binary file not shown.
Binary file not shown.