From 07c3d3a53889306b2f6e2ea0f9e83a8a99b05345 Mon Sep 17 00:00:00 2001 From: Piotrek Zygielo Date: Wed, 13 Nov 2024 11:32:45 +0100 Subject: [PATCH] Move docs build to GH --- .github/workflows/maven.yml | 15 +++++++++++++++ Jenkinsfile | 9 --------- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 871655fbe..442bf782b 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -42,6 +42,21 @@ jobs: retention-days: 1 path: mq/dist/bundles/mq.zip + docs: + name: Build documentation + runs-on: ubuntu-latest + + steps: + - name: Checkout for build + uses: actions/checkout@v4 + - name: Set up JDK + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: 21 + - name: Docs Maven Build + run: ./mvnw --show-version --no-transfer-progress --activate-profiles staging --file docs install + build-with-no-staging: name: Build with no staging repository, using only central-released artifacts runs-on: ubuntu-latest diff --git a/Jenkinsfile b/Jenkinsfile index f29fc48cd..50ed9e524 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -42,15 +42,6 @@ pipeline { } } } - stage('docs') { - agent any - tools { - jdk 'temurin-jdk21-latest' - } - steps { - sh './mvnw -B -f docs clean install' - } - } } post { always {