-
Notifications
You must be signed in to change notification settings - Fork 951
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
update Remove PR job updated dsl config [apache_migration] Update pipelines (#2967) Update pipelines remove optaplanner-website PR multibranchPipelineJob (#2975) * PR multibranchPipelineJob * set Jenkinsfile timeout time as int --------- Co-authored-by: jstastny-cz <[email protected]> Update kiegroup references to apache (#2981) Co-authored-by: radtriste <[email protected]> Co-authored-by: jstastny-cz <[email protected]> Fix CI references to kie-docs and kie-benchmarks (#2982) Co-authored-by: jstastny-cz <[email protected]> use apache/incubator-kie-benchmarks in branch config (#2983) Co-authored-by: jstastny-cz <[email protected]> Remove branch override for quickstarts from branch config (#2984) Co-authored-by: jstastny-cz <[email protected]> Switch to main branch in config
- Loading branch information
Showing
29 changed files
with
202 additions
and
737 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
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,44 @@ | ||
@Library('jenkins-pipeline-shared-libraries')_ | ||
|
||
pr_check_script = null | ||
|
||
pipeline { | ||
agent { | ||
label 'ubuntu' | ||
} | ||
options { | ||
timestamps() | ||
timeout(time: 360, unit: 'MINUTES') | ||
} | ||
environment { | ||
BUILDCHAIN_PROJECT = 'apache/incubator-kie-optaplanner' | ||
BUILDCHAIN_CONFIG_REPO = 'incubator-kie-optaplanner' | ||
BUILDCHAIN_CONFIG_FILE_PATH = '.ci/buildchain-config.yaml' | ||
|
||
ENABLE_SONARCLOUD = 'true' | ||
SONARCLOUD_ANALYSIS_MVN_OPTS = '-Dsonar.projectKey=org.optaplanner:optaplanner' | ||
OPTAPLANNER_BUILD_MVN_OPTS = '-Prun-code-coverage' | ||
} | ||
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, 'ASF_Cloudbees_Jenkins_ci-builds')) | ||
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
Oops, something went wrong.