Skip to content

Commit 2f341a3

Browse files
dreab8DavideD
authored andcommitted
[#2519] Migrate to release scripts for documentation publishing
1 parent 8c3226f commit 2f341a3

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-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: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,11 +153,21 @@ def updateDocumentationTask = tasks.register( 'updateDocumentation' ) {
153153
into docWebsiteReactiveFolder.dir("javadocs")
154154
}
155155

156+
copy {
157+
from documentationDir.dir("javadocs")
158+
into rootProject.layout.buildDirectory.dir("staging-deploy/documentation/javadocs")
159+
}
160+
156161
// Reference Documentation
157162
copy {
158163
from documentationDir.dir("asciidoc/reference/html_single")
159164
into docWebsiteReactiveFolder.dir("reference/html_single")
160-
}
165+
}
166+
167+
copy {
168+
from documentationDir.dir("asciidoc/reference/html_single")
169+
into rootProject.layout.buildDirectory.dir("staging-deploy/documentation/reference/html_single")
170+
}
161171
}
162172
}
163173

0 commit comments

Comments
 (0)