mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-19 04:05:36 +00:00
b1873: Alter git ssh command for createCommit method used within ApacheReverseProxyCluster setRedirect.
This commit is contained in:
+1
-1
@@ -167,7 +167,7 @@ implements com.sap.sse.landscape.Process<RotatingFileBasedLog, MetricsT> {
|
||||
StringBuilder command = new StringBuilder(" git add " + getRelativeConfigFilePath(editedFileName)
|
||||
+ " && git commit -m " + "\"" + commitMsg + "\""); // space at beginning and after -m, for safety
|
||||
if (performPush) {
|
||||
command.append(" ; git push origin " + CONFIG_REPO_MAIN_BRANCH_NAME);
|
||||
command.append(" ; GIT_SSH_COMMAND=\"ssh -o StrictHostKeyChecking=no\" git push origin " + CONFIG_REPO_MAIN_BRANCH_NAME);
|
||||
}
|
||||
return command.toString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user