Merge pull request #275 from ryanjbaxter/publish-antora-docs

Update jenkins command
This commit is contained in:
Ryan Baxter
2024-05-17 17:13:19 -04:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -502,7 +502,7 @@ public class ReleaserProperties implements Serializable {
this.springDocsSshUsername = springDocsSshUsername;
}
public String getSpringDocsSshKey(String springDocsSshKey) {
public String getSpringDocsSshKey() {
return springDocsSshKey;
}
@@ -510,7 +510,7 @@ public class ReleaserProperties implements Serializable {
this.springDocsSshKey = springDocsSshKey;
}
public String getSpringDocsSshHostKey(String springDocsSshHostKey) {
public String getSpringDocsSshHostKey() {
return springDocsSshHostKey;
}

View File

@@ -342,8 +342,8 @@ class CommandPicker {
ProjectVersion version = new ProjectVersion(project);
String repo = properties.getGit().getOrgName() + "/" + version.projectName;
// TODO this needs to be a property
return "./jenkins.sh"
+ " --docs-host docs-ip.spring.io --docs-ssh-host-key # --site-path "
return "./jenkins.sh --docs-username " + properties.getAntora().getSpringDocsSshUsername() + " --docs-ssh-key " + properties.getAntora().getSpringDocsSshKey()
+ " --docs-host docs-ip.spring.io --docs-ssh-host-key " + properties.getAntora().getSpringDocsSshHostKey() + " --site-path "
+ project.getAbsolutePath() + "/target/antora/site --github-repository " + repo + " --dry-run";
}