-
Notifications
You must be signed in to change notification settings - Fork 955
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 (#2985)
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 <jan.stastny@ibm.com> Update kiegroup references to apache (#2981) Co-authored-by: radtriste <tradisso@redhat.com> Co-authored-by: jstastny-cz <jan.stastny@ibm.com> Fix CI references to kie-docs and kie-benchmarks (#2982) Co-authored-by: jstastny-cz <jan.stastny@ibm.com> use apache/incubator-kie-benchmarks in branch config (#2983) Co-authored-by: jstastny-cz <jan.stastny@ibm.com> Remove branch override for quickstarts from branch config (#2984) Co-authored-by: jstastny-cz <jan.stastny@ibm.com> Switch to main branch in config Co-authored-by: radtriste <tradisso@redhat.com>
- Loading branch information
1 parent
b965480
commit cf0f239
Showing
29 changed files
with
207 additions
and
741 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.