Skip to content

Commit

Permalink
Set homepage as plugins.jenkins.io for new plugins and update defaults (
Browse files Browse the repository at this point in the history
  • Loading branch information
NotMyFault committed Mar 3, 2024
1 parent cde005e commit 8c15926
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -201,7 +201,7 @@
<dependency>
<groupId>org.kohsuke</groupId>
<artifactId>github-api</artifactId>
<version>1.318</version>
<version>1.319</version>
</dependency>
<dependency>
<groupId>org.javatuples</groupId>
Expand Down
Expand Up @@ -248,6 +248,10 @@ boolean forkGitHub(String owner, String repo, String newName, List<String> maint
private static void setupRepository(GHRepository r, boolean useGHIssues) throws IOException {
r.enableIssueTracker(useGHIssues);
r.enableWiki(false);
r.setHomepage("https://plugins.jenkins.io/" + r.getName().replace("-plugin", "") + "/");
if (!r.getDefaultBranch().equals("main")) {
r.setDefaultBranch("main");
}
}

/**
Expand Down

0 comments on commit 8c15926

Please sign in to comment.