Skip to content

Commit a7aa040

Browse files
dreab8DavideD
authored andcommitted
[#2519] Migrate to release scripts for documentation publishing
1 parent e87a727 commit a7aa040

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
@@ -156,11 +156,21 @@ def updateDocumentationTask = tasks.register( 'updateDocumentation' ) {
156156
into docWebsiteReactiveFolder.dir("javadocs")
157157
}
158158

159+
copy {
160+
from documentationDir.dir("javadocs")
161+
into rootProject.layout.buildDirectory.dir("staging-deploy/documentation/javadocs")
162+
}
163+
159164
// Reference Documentation
160165
copy {
161166
from documentationDir.dir("asciidoc/reference/html_single")
162167
into docWebsiteReactiveFolder.dir("reference/html_single")
163-
}
168+
}
169+
170+
copy {
171+
from documentationDir.dir("asciidoc/reference/html_single")
172+
into rootProject.layout.buildDirectory.dir("staging-deploy/documentation/reference/html_single")
173+
}
164174
}
165175
}
166176

0 commit comments

Comments
 (0)