diff --git a/ci/release/Jenkinsfile b/ci/release/Jenkinsfile index 218162254d8..659d201a4da 100644 --- a/ci/release/Jenkinsfile +++ b/ci/release/Jenkinsfile @@ -72,7 +72,7 @@ pipeline { string(credentialsId: 'release.gpg.passphrase', variable: 'JRELEASER_GPG_PASSPHRASE'), usernamePassword(credentialsId: 'central.sonatype.com', passwordVariable: 'JRELEASER_MAVENCENTRAL_TOKEN', usernameVariable: 'JRELEASER_MAVENCENTRAL_USERNAME'), string(credentialsId: 'Hibernate-CI.github.com', variable: 'JRELEASER_GITHUB_TOKEN')]) { - sshagent(['ed25519.Hibernate-CI.github.com', 'hibernate.filemgmt.jboss.org', 'hibernate-ci.frs.sourceforge.net']) { + sshagent(['ed25519.Hibernate-CI.github.com', 'hibernate.filemgmt.jboss.org', 'jenkins.in.relation.to', 'hibernate-ci.frs.sourceforge.net']) { sh 'cat $HOME/.ssh/config' dir('.release/scripts') { sh 'git clone https://github.com/hibernate/hibernate-release-scripts.git .' diff --git a/distribution/pom.xml b/distribution/pom.xml index bba2e223d2f..64fe9399703 100644 --- a/distribution/pom.xml +++ b/distribution/pom.xml @@ -204,4 +204,39 @@ + + + + release + + ${rootProject.directory}/target/staging-deploy/ + + + + + org.apache.maven.plugins + maven-assembly-plugin + + + ${basedir}/src/main/assembly/docs.xml + + false + documentation + posix + ${documentation.staging.dir} + + + + stage-documentation + install + + single + + + + + + + + diff --git a/distribution/src/main/assembly/docs.xml b/distribution/src/main/assembly/docs.xml new file mode 100644 index 00000000000..665e19e55a4 --- /dev/null +++ b/distribution/src/main/assembly/docs.xml @@ -0,0 +1,28 @@ + + + + + docs + + dir + + + . + + + + + target/site/apidocs + api + + + ../documentation/target/dist + . + + + + +