File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ try {
176
176
withCredentials([file(credentialsId : ' docs.spring.io-jenkins_private_ssh_key' , variable : ' DEPLOY_SSH_KEY' )]) {
177
177
withCredentials([ARTIFACTORY_CREDENTIALS ]) {
178
178
withEnv([" JAVA_HOME=${ tool 'jdk8' } " ]) {
179
- sh " ./gradlew deployDocs -PdeployDocsSshKeyPath=$DEPLOY_SSH_KEY -PdeployDocsSshUsername=$SPRING_DOCS_USERNAME -PartifactoryUsername=$ARTIFACTORY_USERNAME -PartifactoryPassword=$ARTIFACTORY_PASSWORD -PdeployDocsHost=docs-ip.spring.io - -refresh-dependencies --no-daemon --stacktrace"
179
+ sh " ./gradlew deployDocs -PdeployDocsSshKeyPath=$DEPLOY_SSH_KEY -PdeployDocsSshUsername=$SPRING_DOCS_USERNAME -PartifactoryUsername=$ARTIFACTORY_USERNAME -PartifactoryPassword=$ARTIFACTORY_PASSWORD --refresh-dependencies --no-daemon --stacktrace"
180
180
}
181
181
}
182
182
}
@@ -191,7 +191,7 @@ try {
191
191
withCredentials([file(credentialsId : ' docs.spring.io-jenkins_private_ssh_key' , variable : ' DEPLOY_SSH_KEY' )]) {
192
192
withCredentials([ARTIFACTORY_CREDENTIALS ]) {
193
193
withEnv([" JAVA_HOME=${ tool 'jdk8' } " ]) {
194
- sh " ./gradlew deploySchema -PdeployDocsSshKeyPath=$DEPLOY_SSH_KEY -PdeployDocsSshUsername=$SPRING_DOCS_USERNAME -PdeployDocsHost=docs-ip.spring.io - -refresh-dependencies --no-daemon --stacktrace"
194
+ sh " ./gradlew deploySchema -PdeployDocsSshKeyPath=$DEPLOY_SSH_KEY -PdeployDocsSshUsername=$SPRING_DOCS_USERNAME --refresh-dependencies --no-daemon --stacktrace"
195
195
}
196
196
}
197
197
}
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ remotes {
15
15
docs {
16
16
retryCount = 5 // retry 5 times (default is 0)
17
17
retryWaitSec = 10 // wait 10 seconds between retries (default is 0)
18
+ host = " docs-ip.spring.io"
18
19
}
19
20
}
20
21
You can’t perform that action at this time.
0 commit comments