Compare commits

..

5 Commits

Author SHA1 Message Date
Liam Newman
ed3cd0c9c8 [maven-release-plugin] prepare release github-api-1.106 2020-01-27 19:07:07 -08:00
Liam Newman
398f029f6d Merge pull request #685 from bitwiseman/task/commons-io-2.4
Downgrade to commons-io 2.4
2020-01-27 19:04:24 -08:00
Liam Newman
ad9c2b917b Disable rate limit hanging test 2020-01-27 18:56:41 -08:00
Liam Newman
d0d65182c0 Downgrade to commons-io 2.4 for Jenkins compatibility 2020-01-27 18:43:56 -08:00
Liam Newman
14f3660f55 [maven-release-plugin] prepare for next development iteration 2020-01-27 00:03:48 -08:00
2 changed files with 7 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.kohsuke</groupId>
<artifactId>github-api</artifactId>
<version>1.105</version>
<version>1.106</version>
<name>GitHub API for Java</name>
<url>https://github-api.kohsuke.org/</url>
<description>GitHub API for Java</description>
@@ -11,7 +11,7 @@
<connection>scm:git:git@github.com/github-api/${project.artifactId}.git</connection>
<developerConnection>scm:git:ssh://git@github.com/github-api/${project.artifactId}.git</developerConnection>
<url>https://${project.artifactId}.kohsuke.org/</url>
<tag>github-api-1.105</tag>
<tag>github-api-1.106</tag>
</scm>
<distributionManagement>
@@ -204,6 +204,7 @@
<exclude>org.kohsuke.github.GHPerson.1.1</exclude>
<!-- TODO: These still need test coverage -->
<exclude>org.kohsuke.github.GitHub.GHApiInfo</exclude>
<exclude>org.kohsuke.github.GHBranchProtection.RequiredSignatures</exclude>
<exclude>org.kohsuke.github.GHBranchProtectionBuilder.Restrictions</exclude>
<exclude>org.kohsuke.github.GHBranchProtection.Restrictions</exclude>
@@ -467,7 +468,7 @@
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.6</version>
<version>2.4</version>
</dependency>
<dependency>
<groupId>com.infradna.tool</groupId>

View File

@@ -1,5 +1,6 @@
package org.kohsuke.github;
import org.junit.Ignore;
import org.junit.Test;
import java.io.IOException;
@@ -99,10 +100,11 @@ public class GitHubConnectionTest extends AbstractGitHubWireMockTest {
assertEquals("", github.login);
}
@Ignore
@Test
public void testGitHubIsApiUrlValid() throws IOException {
GitHub hub = GitHub.connectAnonymously();
// GitHub github = GitHub.connectToEnterpriseAnonymously("https://github.mycompany.com/api/v3/");
// GitHub hub = GitHub.connectToEnterpriseAnonymously(mockGitHub.apiServer().baseUrl());
try {
hub.checkApiUrlValidity();
} catch (IOException ioe) {