-
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]> * kie-issues#587 abort stale builds (#608) Co-authored-by: jstastny-cz <[email protected]> * kie-issues#643: fix PR check buildchain configuration * kie-issues#667: fix cleanup and settingsXml handling (#613) * kie-issues#667: fix cleanup and settingsXml handling * adjust also MavenCommands passed to maven library methods --------- Co-authored-by: jstastny-cz <[email protected]> * 8.x kie-issues#674: update GHA references (#614) * kie-issues#674: update GHA references * change surefire action --------- Co-authored-by: jstastny-cz <[email protected]> * kie-issues#727: define push GH tokens for jenkins * 8.x kie-issues#767: set user config for git * NO-ISSUE: fix docker agent config * NO-ISSUE: adjust branch mapping * NO-ISSUE: apache transfer leftovers * parameterize buildchain file url --------- Co-authored-by: jstastny-cz <[email protected]>
- Loading branch information
1 parent
ffc95fb
commit 7ccd9ef
Showing
23 changed files
with
127 additions
and
83 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,44 @@ | ||
@Library('jenkins-pipeline-shared-libraries')_ | ||
|
||
pr_check_script = null | ||
|
||
pipeline { | ||
agent { | ||
label 'ubuntu' | ||
} | ||
options { | ||
timestamps() | ||
timeout(time: 720, unit: 'MINUTES') | ||
disableConcurrentBuilds(abortPrevious: true) | ||
} | ||
environment { | ||
BUILDCHAIN_PROJECT = 'apache/incubator-kie-optaplanner-quickstarts' | ||
BUILDCHAIN_CONFIG_REPO = 'incubator-kie-optaplanner' | ||
BUILDCHAIN_CONFIG_FILE_PATH = '.ci/buildchain-config-pr-cdb.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')) | ||
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
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
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.