treasuremap/tools/gate/aiab/seed.groovy
Alexander Noskov 142dd1e491 Use Jenkinsfile from git instead of static file.
Change-Id: I37b2e2f77810a8f84e6c57c2a0e19d957da9b64a
2019-08-05 12:05:22 -05:00

56 lines
1.5 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 {
cpsScm {
scm {
git('https://review.opendev.org/airship/treasuremap')
scriptPath('tools/gate/aiab/Jenkinsfile')
lightweight(true)
}
}
}
}
}