We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a693328 commit a272ab9Copy full SHA for a272ab9
src/test/java/org/kohsuke/AppTest.java
@@ -27,6 +27,12 @@ public void tryOrgFork() throws Exception {
27
gh.getUser("kohsuke").getRepository("rubywm").forkTo(gh.getOrganization("jenkinsci"));
28
}
29
30
+ public void tryGetTeamsForRepo() throws Exception {
31
+ GitHub gh = GitHub.connect();
32
+ Set<GHTeam> o = gh.getOrganization("jenkinsci").getRepository("rubywm").getTeams();
33
+ System.out.println(o);
34
+ }
35
+
36
public void testMembership() throws Exception {
37
GitHub gitHub = GitHub.connect();
38
Set<String> members = gitHub.getOrganization("jenkinsci").getRepository("violations-plugin").getCollaboratorNames();
0 commit comments