From 44ae6955e7b1ace93e49846292c63f5fd71dd7cb Mon Sep 17 00:00:00 2001 From: Tristan Radisson Date: Mon, 11 Oct 2021 08:37:12 +0200 Subject: [PATCH] KOGITO-5937 Jenkins PR: enable build-chain (#912) * KOGITO-5937 Jenkins PR: enable build-chain * update gha --- .ci/jenkins/dsl/jobs.groovy | 7 ++++++- .github/workflows/ci-pr.yml | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.ci/jenkins/dsl/jobs.groovy b/.ci/jenkins/dsl/jobs.groovy index b4ebd3bd36..2a6cbbff55 100644 --- a/.ci/jenkins/dsl/jobs.groovy +++ b/.ci/jenkins/dsl/jobs.groovy @@ -24,10 +24,15 @@ def getJobParams(String jobName, String jobFolder, String jenkinsfileName, Strin Map getMultijobPRConfig() { return [ parallel: true, + buildchain: true, jobs : [ [ - id: 'Examples', + id: 'kogito-examples', primary: true, + env : [ + // Sonarcloud analysis is disabled for examples + DISABLE_SONARCLOUD: true, + ] ] ] ] diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index f5beee01f1..808ae72a0c 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -46,7 +46,7 @@ jobs: restore-keys: ${{ runner.os }}-m2 - name: Build Chain ${{ matrix.java-version }} id: build-chain - uses: kiegroup/github-action-build-chain@v2.6.2 + uses: kiegroup/github-action-build-chain@v2.6.11 with: definition-file: https://raw.githubusercontent.com/${GROUP}/kogito-pipelines/${BRANCH}/.ci/pull-request-config.yaml - name: Publish Test Report