-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kie-issues#574 Initial ASF Jenkins CI Setup (#607)
Co-authored-by: jstastny-cz <[email protected]>
- Loading branch information
1 parent
522730c
commit 20a04db
Showing
13 changed files
with
77 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
@Library('jenkins-pipeline-shared-libraries')_ | ||
|
||
pr_check_script = null | ||
|
||
pipeline { | ||
agent { | ||
label 'ubuntu' | ||
} | ||
options { | ||
timestamps() | ||
timeout(time: 720, unit: 'MINUTES') | ||
} | ||
environment { | ||
BUILDCHAIN_PROJECT = 'apache/incubator-kie-optaplanner-quickstarts' | ||
BUILDCHAIN_CONFIG_REPO = 'apache/incubator-kie-optaplanner' | ||
BUILDCHAIN_CONFIG_FILE_PATH = '.ci/buildchain-config.yaml' | ||
|
||
OPTAPLANNER_BUILD_MVN_OPTS_UPSTREAM = '-Dfull' | ||
BUILD_MVN_OPTS_CURRENT = '-Dfull' | ||
} | ||
stages { | ||
stage('Initialize') { | ||
steps { | ||
script { | ||
// load `pr_check.groovy` file from kogito-pipelines:main | ||
dir('kogito-pipelines') { | ||
checkout(githubscm.resolveRepository('incubator-kie-kogito-pipelines', 'apache', 'main', false, 'kie-ci')) // TODO to change back to kiegroup:main | ||
pr_check_script = load 'dsl/scripts/pr_check.groovy' | ||
} | ||
} | ||
} | ||
} | ||
stage('PR check') { | ||
steps { | ||
script { | ||
dir('kogito-pipelines') { | ||
pr_check_script.launch() | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,9 +52,9 @@ jobs: | |
restore-keys: ${{ runner.os }}-${{ matrix.java-version }}-m2 | ||
- name: Build Chain ${{ matrix.java-version }} | ||
id: build-chain | ||
uses: kiegroup/[email protected] | ||
uses: apache/incubator-kie-kogito-pipelines/.ci/actions/[email protected] | ||
with: | ||
definition-file: https://raw.githubusercontent.com/${GROUP}/optaplanner/main/.ci/buildchain-config.yaml | ||
definition-file: https://raw.githubusercontent.com/${GROUP}/incubator-kie-optaplanner/main/.ci/buildchain-config.yaml | ||
env: | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
OPTAPLANNER_BUILD_MVN_OPTS_UPSTREAM: "-Dfull" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.