Add SCM poll trigger to cassandra Jenkins job
Some checks failed
Tests / Declarative: Post Actions failed: 2, passed: 143

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:
Brad Stein 2026-08-07 06:52:27 -03:00
parent e3b19fe751
commit 334fefff6c
2 changed files with 16 additions and 0 deletions

View File

@ -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

View File

@ -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 {