Update variable name
This commit is contained in:
@@ -466,7 +466,7 @@ public class ReleaserProperties implements Serializable {
|
||||
|
||||
private String springDocsSshUsername;
|
||||
|
||||
private String springDocsSshKey;
|
||||
private String springDocsSshKeyPath;
|
||||
|
||||
private String springDocsSshHostKey;
|
||||
|
||||
@@ -502,12 +502,12 @@ public class ReleaserProperties implements Serializable {
|
||||
this.springDocsSshUsername = springDocsSshUsername;
|
||||
}
|
||||
|
||||
public String getSpringDocsSshKey() {
|
||||
return springDocsSshKey;
|
||||
public String getSpringDocsSshKeyPath() {
|
||||
return springDocsSshKeyPath;
|
||||
}
|
||||
|
||||
public void setSpringDocsSshKey(String springDocsSshKey) {
|
||||
this.springDocsSshKey = springDocsSshKey;
|
||||
public void setSpringDocsSshKeyPath(String springDocsSshKeyPath) {
|
||||
this.springDocsSshKeyPath = springDocsSshKeyPath;
|
||||
}
|
||||
|
||||
public String getSpringDocsSshHostKey() {
|
||||
@@ -525,7 +525,7 @@ public class ReleaserProperties implements Serializable {
|
||||
", syncAntoraDocsCommand='" + syncAntoraDocsCommand + '\'' +
|
||||
", springDocsActionsTag='" + springDocsActionsTag + '\'' +
|
||||
", springDocsSshUsername='" + springDocsSshUsername + '\'' +
|
||||
", springDocsSshKey='" + springDocsSshKey + '\'' +
|
||||
", springDocsSshKey='" + springDocsSshKeyPath + '\'' +
|
||||
", springDocsSshHostKey='" + springDocsSshHostKey + '\'' +
|
||||
'}';
|
||||
}
|
||||
|
||||
@@ -342,7 +342,7 @@ 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-username " + properties.getAntora().getSpringDocsSshUsername() + " --docs-ssh-key " + properties.getAntora().getSpringDocsSshKey()
|
||||
return "./jenkins.sh --docs-username " + properties.getAntora().getSpringDocsSshUsername() + " --docs-ssh-key-path " + properties.getAntora().getSpringDocsSshKeyPath()
|
||||
+ " --docs-host docs-ip.spring.io --docs-ssh-host-key # --site-path "
|
||||
+ project.getAbsolutePath() + "/target/antora/site --github-repository " + repo + " --dry-run";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user