Add SCM poll trigger to cassandra Jenkins job
The cassandra pipelineJob had no trigger, so Gitea's notifyCommit webhook found no matching job and pushes only built when started manually. Poll every 5 minutes like lesavka/typhon so pushes build within one poll cycle and the webhook race disappears. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
785e9bcf7d
commit
4e8edf9fac
@ -39,3 +39,9 @@ def test_typhon_jenkins_job_has_daily_refresh_trigger():
|
||||
assert "scmpoll_spec('H/5 * * * *')" in typhon_block
|
||||
assert "cron" in typhon_block
|
||||
assert "spec('H H * * *')" in typhon_block
|
||||
|
||||
|
||||
def test_cassandra_jenkins_job_has_scm_poll_trigger():
|
||||
cassandra_block = jcasc_job_block("cassandra")
|
||||
|
||||
assert "scmpoll_spec('H/5 * * * *')" in cassandra_block
|
||||
|
||||
@ -432,6 +432,16 @@ data:
|
||||
pipelineJob('cassandra') {
|
||||
disabled(false)
|
||||
description('Staged Cassandra alpha image pipeline. Backend/frontend should build linux/amd64 and linux/arm64; sim-worker may begin amd64-only if Forge dependencies require it.')
|
||||
properties {
|
||||
pipelineTriggers {
|
||||
triggers {
|
||||
scmTrigger {
|
||||
scmpoll_spec('H/5 * * * *')
|
||||
ignorePostCommitHooks(false)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
definition {
|
||||
cpsScm {
|
||||
scm {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user