-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove update dependencies job throttling
- Loading branch information
1 parent
ab5cd0a
commit 7b06688
Showing
1 changed file
with
5 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,8 +107,7 @@ pipeline { | |
options { | ||
buildDiscarder logRotator(daysToKeepStr: '10', numToKeepStr: '3') | ||
disableConcurrentBuilds(abortPrevious: true) | ||
// Run at most twice per week, to preserve CI workers for more urgent tasks. | ||
rateLimitBuilds(throttle: [count: 2, durationName: 'week', userBoost: true]) | ||
overrideIndexTriggers(false) | ||
} | ||
stages { | ||
// This allows testing the original (unpatched) artifacts, | ||
|
@@ -142,7 +141,10 @@ pipeline { | |
} | ||
script { | ||
dir('hibernate-orm-local-copy') { | ||
sh "git clone ${params.ORM_REPOSITORY} --depth 1 --branch ${params.ORM_BRANCH} --single-branch ." | ||
// We may get either an http or an ssh repository URLs. | ||
// Since this job can work correctly only with an http URL we will try to adapt the ssh url if we spot one: | ||
def repositoryUrl = params.ORM_REPOSITORY ==~ /^git@github\.com:.+$/ ? params.ORM_REPOSITORY.replace("[email protected]:", "https://github.com/") : params.ORM_REPOSITORY | ||
sh "git clone ${repositoryUrl} --depth 1 --branch ${params.ORM_BRANCH} --single-branch ." | ||
sh "./gradlew publishToMavenLocal -x test -Dmaven.repo.local=${env.WORKSPACE_TMP}/.m2repository" | ||
} | ||
dir(env.WORKSPACE_TMP + '/.m2repository') { | ||
|