Skip to content

Commit 971b0c0

Browse files
committed
Use a cron trigger instead of build throttling for nightly builds
1 parent 10f4e24 commit 971b0c0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

nightly.Jenkinsfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ stage('Configure') {
5353
buildDiscarder(
5454
logRotator(daysToKeepStr: '30', numToKeepStr: '10')
5555
),
56-
rateLimitBuilds(throttle: [count: 1, durationName: 'day', userBoost: true]),
56+
pipelineTriggers([
57+
cron('H H(4-6) * * *')
58+
]),
5759
// If two builds are about the same branch or pull request,
5860
// the older one will be aborted when the newer one starts.
5961
disableConcurrentBuilds(abortPrevious: true),

0 commit comments

Comments
 (0)