jenkins: drop legacy cleanup and update triggers
This commit is contained in:
parent
36ae49f1fc
commit
9cdf244d98
@ -49,8 +49,12 @@ data:
|
||||
jobs:
|
||||
- script: |
|
||||
pipelineJob('harbor-arm-build') {
|
||||
triggers {
|
||||
scm('H/5 * * * *')
|
||||
properties {
|
||||
pipelineTriggers {
|
||||
triggers {
|
||||
scm('H/5 * * * *')
|
||||
}
|
||||
}
|
||||
}
|
||||
definition {
|
||||
cpsScm {
|
||||
@ -83,8 +87,12 @@ data:
|
||||
}
|
||||
}
|
||||
pipelineJob('ci-demo') {
|
||||
triggers {
|
||||
scm('H/1 * * * *')
|
||||
properties {
|
||||
pipelineTriggers {
|
||||
triggers {
|
||||
scm('H/1 * * * *')
|
||||
}
|
||||
}
|
||||
}
|
||||
definition {
|
||||
cpsScm {
|
||||
@ -102,8 +110,12 @@ data:
|
||||
}
|
||||
}
|
||||
pipelineJob('bstein-dev-home') {
|
||||
triggers {
|
||||
scm('H/2 * * * *')
|
||||
properties {
|
||||
pipelineTriggers {
|
||||
triggers {
|
||||
scm('H/2 * * * *')
|
||||
}
|
||||
}
|
||||
}
|
||||
definition {
|
||||
cpsScm {
|
||||
@ -121,8 +133,12 @@ data:
|
||||
}
|
||||
}
|
||||
pipelineJob('ariadne') {
|
||||
triggers {
|
||||
scm('H/2 * * * *')
|
||||
properties {
|
||||
pipelineTriggers {
|
||||
triggers {
|
||||
scm('H/2 * * * *')
|
||||
}
|
||||
}
|
||||
}
|
||||
definition {
|
||||
cpsScm {
|
||||
@ -140,8 +156,12 @@ data:
|
||||
}
|
||||
}
|
||||
pipelineJob('data-prepper') {
|
||||
triggers {
|
||||
scm('H/5 * * * *')
|
||||
properties {
|
||||
pipelineTriggers {
|
||||
triggers {
|
||||
scm('H/5 * * * *')
|
||||
}
|
||||
}
|
||||
}
|
||||
definition {
|
||||
cpsScm {
|
||||
|
||||
@ -41,7 +41,7 @@ spec:
|
||||
{{ with secret "kv/data/atlas/jenkins/webhook-tokens" }}
|
||||
TITAN_IAC_WEBHOOK_TOKEN={{ .Data.data.titan_iac_quality_gate }}
|
||||
{{ end }}
|
||||
bstein.dev/restarted-at: "2026-01-20T13:45:00Z"
|
||||
bstein.dev/restarted-at: "2026-01-20T14:05:00Z"
|
||||
spec:
|
||||
serviceAccountName: jenkins
|
||||
nodeSelector:
|
||||
|
||||
@ -16,7 +16,6 @@ configMapGenerator:
|
||||
- name: jenkins-init-scripts
|
||||
namespace: jenkins
|
||||
files:
|
||||
- job_cleanup.groovy=scripts/job_cleanup.groovy
|
||||
- theme.groovy=scripts/theme.groovy
|
||||
options:
|
||||
disableNameSuffixHash: true
|
||||
|
||||
@ -1,13 +0,0 @@
|
||||
import jenkins.branch.MultiBranchProject
|
||||
import jenkins.model.Jenkins
|
||||
|
||||
def jenkins = Jenkins.instance
|
||||
if (jenkins == null) {
|
||||
return
|
||||
}
|
||||
|
||||
def legacy = jenkins.getItemByFullName('titan-iac-quality-gate')
|
||||
if (legacy != null && !(legacy instanceof MultiBranchProject)) {
|
||||
legacy.delete()
|
||||
println("Deleted legacy job titan-iac-quality-gate (non-multibranch)")
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user