Skip to content

Commit 71e9023

Browse files
committed
jobs/seed-github-ci: fix branch rescan trigger
I think I got it right this time. The docs for that key specifically mention SCM re-indexing and push notification fallback.
1 parent 5ed5f9f commit 71e9023

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

jobs/seed-github-ci.Jenkinsfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,11 @@ node { repos.each { repo ->
4343
discardOldItems()
4444
}
4545
triggers {
46-
// manually rescan once a day; this is important so that it
47-
// picks up on deleted branches/PRs which can be cleaned up
48-
cron((60 * 24).toString())
46+
periodicFolderTrigger {
47+
// manually rescan once a day; this is important so that it
48+
// picks up on deleted branches/PRs which can be cleaned up
49+
interval((60 * 24).toString())
50+
}
4951
}
5052
// things which don't seem to have a nice DSL :(
5153
configure {

0 commit comments

Comments
 (0)