Skip to content

Commit a901733

Browse files
committed
[#2519] Migrate to release scripts for documentation publishing
1 parent 82340d1 commit a901733

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ci/release/Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ pipeline {
211211
string(credentialsId: 'release.gpg.passphrase', variable: 'JRELEASER_GPG_PASSPHRASE'),
212212
string(credentialsId: 'Hibernate-CI.github.com', variable: 'JRELEASER_GITHUB_TOKEN')
213213
]) {
214-
sshagent(['ed25519.Hibernate-CI.github.com', 'hibernate.filemgmt.jboss.org', 'hibernate-ci.frs.sourceforge.net']) {
214+
sshagent(['ed25519.Hibernate-CI.github.com', 'hibernate.filemgmt.jboss.org', 'jenkins.in.relation.to', 'hibernate-ci.frs.sourceforge.net']) {
215215
// performs documentation upload and Sonatype release
216216
// push to github
217217
withEnv([

release/build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,13 +154,15 @@ def updateDocumentationTask = tasks.register( 'updateDocumentation' ) {
154154
copy {
155155
from documentationDir.dir("javadocs")
156156
into docWebsiteReactiveFolder.dir("javadocs")
157+
into rootProject.layout.buildDirectory.dir("staging-deploy/documentation/javadocs")
157158
}
158159

159160
// Reference Documentation
160161
copy {
161162
from documentationDir.dir("asciidoc/reference/html_single")
162163
into docWebsiteReactiveFolder.dir("reference/html_single")
163-
}
164+
into rootProject.layout.buildDirectory.dir("staging-deploy/documentation/reference/html_single")
165+
}
164166
}
165167
}
166168

0 commit comments

Comments
 (0)