File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -215,6 +215,33 @@ pipeline {
215
215
}
216
216
}
217
217
}
218
+ stage(' Update website' ) {
219
+ steps {
220
+ script {
221
+ checkoutReleaseScripts()
222
+
223
+ configFileProvider([
224
+ configFile(fileId : ' release.config.ssh' , targetLocation : " ${ env.HOME} /.ssh/config" ),
225
+ configFile(fileId : ' release.config.ssh.knownhosts' , targetLocation : " ${ env.HOME} /.ssh/known_hosts" )
226
+ ]) {
227
+ withCredentials([
228
+ gitUsernamePassword(credentialsId : ' username-and-token.Hibernate-CI.github.com' , gitToolName : ' Default' )
229
+ ]) {
230
+ sshagent( [' ed25519.Hibernate-CI.github.com' , ' hibernate.filemgmt.jboss.org' , ' hibernate-ci.frs.sourceforge.net' ] ) {
231
+ dir( ' .release/hibernate.org' ) {
232
+ checkout scmGit(
233
+ branches : [[name : ' */production' ]],
234
+ extensions : [],
235
+ userRemoteConfigs : [[credentialsId : ' ed25519.Hibernate-CI.github.com' , url : ' https://github.com/hibernate/hibernate.org.git' ]]
236
+ )
237
+ sh " ../scripts/website-release.sh ${ env.SCRIPT_OPTIONS} ${ env.PROJECT} ${ env.RELEASE_VERSION} "
238
+ }
239
+ }
240
+ }
241
+ }
242
+ }
243
+ }
244
+ }
218
245
}
219
246
post {
220
247
always {
You can’t perform that action at this time.
0 commit comments