treasuremap/tools/gate/aiab/seed.groovy

53 lines
1.4 KiB
Groovy

JOB_BASE = 'tools/gate/aiab'
pipelineJob("treasuremap-aiab") {
logRotator{
daysToKeep(90)
}
configure {
node -> node / 'properties' / 'jenkins.branch.RateLimitBranchProperty_-JobPropertyImpl'{
durationName 'hour'
count '3'
}
}
triggers {
gerritTrigger {
serverName('ATT-airship-CI')
gerritProjects {
gerritProject {
compareType('PLAIN')
pattern("airship/treasuremap")
branches {
branch {
compareType("ANT")
pattern("**")
}
}
disableStrictForbiddenFileVerification(false)
}
}
triggerOnEvents {
patchsetCreated {
excludeDrafts(false)
excludeTrivialRebase(false)
excludeNoCodeChange(false)
}
changeMerged()
commentAddedContains {
commentAddedCommentContains('^recheck\$')
}
}
}
definition {
cps {
script(readFileFromWorkspace("${JOB_BASE}/Jenkinsfile"))
sandbox(false)
}
}
}
}