diff --git a/.ci/daily/Jenkinsfile b/.ci/daily/Jenkinsfile index faf482163ae..822cc2ad1bb 100644 --- a/.ci/daily/Jenkinsfile +++ b/.ci/daily/Jenkinsfile @@ -53,14 +53,39 @@ pipeline { ]) } } - stage('check-sql-scripts') { - steps { - cambpmConditionalRetry([ - agentLabel: 'centos-stable', - runSteps: { - sh '.ci/scripts/check-sql-scripts.sh' + stage('Misc') { + parallel { + stage('check-sql-scripts') { + steps { + cambpmConditionalRetry([ + agentLabel: 'centos-stable', + runSteps: { + sh '.ci/scripts/check-sql-scripts.sh' + } + ]) } - ]) + } + stage('stage-javadocs') { + when { + branch cambpmDefaultBranch(); + } + steps { + cambpmConditionalRetry([ + agentLabel : 'centos-stable', + runSteps : { + sh 'mkdir -p ./webapps/target/webapp' + cambpmRunMaven('.', + 'package javadoc:javadoc javadoc:aggregate -Pdistro,distro-wildfly,distro-webjar,javadocs -DskipTests=true -Dskip.frontend.build=true', + withNpm: true, + jdkVersion: 'jdk-11-latest') + }, + postSuccess: { + def projectVersion = cambpmUtils.getMavenProjectVersion() + cambpmPublishJavadocs("\"target/site/apidocs/\"", projectVersion) + } + ]) + } + } } } stage('Standalone QA tests') { diff --git a/parent/pom.xml b/parent/pom.xml index 3ac473074c1..c40c8c2b4ed 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -255,8 +255,12 @@ maven-javadoc-plugin false - none - true + + -Xdoclint:none + --ignore-source-errors + + Camunda Platform Javadocs ${project.version} + Camunda Platform Javadocs ${project.version} diff --git a/pom.xml b/pom.xml index 89231f000e2..d23098777c6 100644 --- a/pom.xml +++ b/pom.xml @@ -124,6 +124,27 @@ + + javadocs + + + + org.apache.maven.plugins + maven-javadoc-plugin + + false + + -Xdoclint:none + --ignore-source-errors + + Camunda Platform Javadocs ${project.version} + Camunda Platform Javadocs ${project.version} + + + + + + distro-serverless