Skip to content

Commit

Permalink
Remove failing assembla tests
Browse files Browse the repository at this point in the history
Assembla now requires login to browse URL's
  • Loading branch information
MarkEWaite committed May 22, 2023
1 parent 6df18ba commit 488255b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,8 @@ private String randomPipelineExtensions() {
private String randomPipelineCheckoutExtras() throws Exception {
String[] browsers = {
"",
"[$class: 'AssemblaWeb', repoUrl: 'https://app.assembla.com/spaces/git-plugin/git/source']",
// Assembla now requires login to access their URLs
// "[$class: 'AssemblaWeb', repoUrl: 'https://app.assembla.com/spaces/git-plugin/git/source']",
"[$class: 'BitbucketWeb', repoUrl: 'https://[email protected]/markewaite/git-plugin']",
"[$class: 'CGit', repoUrl: 'https://git.zx2c4.com/cgit']",
"[$class: 'FisheyeGitRepositoryBrowser', repoUrl: 'https://fisheye.apache.org/browse/ant-git']",
Expand All @@ -225,7 +226,8 @@ private String randomPipelineCheckoutExtras() throws Exception {
"[$class: 'Stash', repoUrl: 'https://[email protected]/markewaite/git-plugin']",
"[$class: 'TFS2013GitRepositoryBrowser', repoUrl: 'https://markwaite.visualstudio.com/DefaultCollection/git-plugin/_git/git-plugin']",
"[$class: 'ViewGitWeb', repoUrl: 'https://git.ti.com/gitweb', projectName: 'viewgitweb-project-name-value']",
"assembla('https://app.assembla.com/spaces/git-plugin/git/source')",
// Assembla now requires login to access their URLs
// "assembla('https://app.assembla.com/spaces/git-plugin/git/source')",
"bitbucket('https://[email protected]/markewaite/git-plugin')",
"cgit('https://git.zx2c4.com/cgit')",
"fisheye('https://fisheye.apache.org/browse/ant-git')",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,6 @@ public void setProject() throws Exception {
assemblaWebDescriptor = new AssemblaWeb.AssemblaWebDescriptor();
}

@Test
public void testInitialChecksOnRepoUrl() throws Exception {
String url = "https://app.assembla.com/spaces/git-plugin/git/source";
assertThat(assemblaWebDescriptor.doCheckRepoUrl(project, url), is(FormValidation.ok()));
}

@Test
public void testInitialChecksOnRepoUrlEmpty() throws Exception {
String url = "";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ public void basicSharedLibraryClassTest() throws Exception {
*/
private String randomBrowserSymbolName() {
String[] browsersBySymbolName = {
" browser: assembla('https://app.assembla.com/spaces/git-plugin/git/source'),\n",
// Assembla now requires login to access the space
// " browser: assembla('https://app.assembla.com/spaces/git-plugin/git/source'),\n",
" browser: bitbucket('https://[email protected]/markewaite/git-plugin'),\n",
" browser: cgit('https://git.zx2c4.com/cgit'),\n",
" browser: fisheye('https://fisheye.apache.org/browse/ant-git'),\n",
Expand Down

0 comments on commit 488255b

Please sign in to comment.