-
Notifications
You must be signed in to change notification settings - Fork 132
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
Prepare for Apache migration deactivate PR checks Prepare for Apache migration update Remove PR job [apache_migration] Apache migration update (#1876) * Setup Jenkinsfile * update pipelines Fix CI PR multibranchPipelineJob (#1879) Co-authored-by: jstastny-cz <[email protected]> Update `kiegroup` repository references to `apache` (#1877)
- Loading branch information
Showing
15 changed files
with
112 additions
and
109 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
@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-kogito-apps' | ||
|
||
ENABLE_SONARCLOUD = 'true' | ||
KOGITO_APPS_BUILD_MVN_OPTS = '-Dvalidate-formatting -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
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
Oops, something went wrong.