File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -141,6 +141,30 @@ try {
141
141
}
142
142
}
143
143
}
144
+ },
145
+ docs : {
146
+ stage(' Deploy Docs' ) {
147
+ node {
148
+ checkout scm
149
+ withCredentials([file(credentialsId : ' docs.spring.io-jenkins_private_ssh_key' , variable : ' DEPLOY_SSH_KEY' )]) {
150
+ withEnv([" JAVA_HOME=${ tool 'jdk8' } " ]) {
151
+ sh " ./gradlew deployDocs -PdeployDocsSshKeyPath=$DEPLOY_SSH_KEY -PdeployDocsSshUsername=$SPRING_DOCS_USERNAME --refresh-dependencies --no-daemon --stacktrace"
152
+ }
153
+ }
154
+ }
155
+ }
156
+ },
157
+ schema : {
158
+ stage(' Deploy Schema' ) {
159
+ node {
160
+ checkout scm
161
+ withCredentials([file(credentialsId : ' docs.spring.io-jenkins_private_ssh_key' , variable : ' DEPLOY_SSH_KEY' )]) {
162
+ withEnv([" JAVA_HOME=${ tool 'jdk8' } " ]) {
163
+ sh " ./gradlew deploySchema -PdeployDocsSshKeyPath=$DEPLOY_SSH_KEY -PdeployDocsSshUsername=$SPRING_DOCS_USERNAME --refresh-dependencies --no-daemon --stacktrace"
164
+ }
165
+ }
166
+ }
167
+ }
144
168
}
145
169
}
146
170
} catch (Exception e) {
You can’t perform that action at this time.
0 commit comments