f9077a20d5
Change-Id: I367cae5bae964c7ce0f0427c8bff0d9694e46db7
53 lines
1.4 KiB
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)
|
|
}
|
|
}
|
|
}
|
|
}
|