Skip to content

Commit

Permalink
Remove update dependencies job throttling
Browse files Browse the repository at this point in the history
  • Loading branch information
marko-bekhta committed Oct 27, 2023
1 parent ab5cd0a commit 7b06688
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ci/dependency-update/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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') {
Expand Down

0 comments on commit 7b06688

Please sign in to comment.