Merge pull request #275 from ryanjbaxter/publish-antora-docs
Update jenkins command
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user