treasuremap/tools/gate/aiab/seed.groovy
Evgeny L f9077a20d5 Add Airship-in-a-Bottle cicd gate jobs
Change-Id: I367cae5bae964c7ce0f0427c8bff0d9694e46db7
2019-06-05 21:31:59 +00:00

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)
}
}
}
}