d59c51ef10
We need to test changes in tools dir because it uses during pipeline execution. Change-Id: I0e9016609277475759f43e0591aa011279452abb
91 lines
2.6 KiB
Groovy
91 lines
2.6 KiB
Groovy
|
|
pipelineJob('Seaworthy') {
|
|
|
|
displayName('Seaworthy')
|
|
description('Bare-metal continuous deployment pipeline')
|
|
|
|
logRotator {
|
|
daysToKeep(30)
|
|
}
|
|
|
|
parameters {
|
|
string {
|
|
defaultValue("uplift")
|
|
description("Reference to treasuremap, e.g. refs/changes/12/12345/12")
|
|
name("AIRSHIP_MANIFESTS_REF")
|
|
trim(true)
|
|
}
|
|
booleanParam {
|
|
defaultValue(true)
|
|
description('Flag to publish the console log from the pipeline run to artifactory. ' +
|
|
'Set this value to false, if you should want to suppress uploading ' +
|
|
'and publishing of the pipeline logs to the artifactory.')
|
|
name("ARTIFACTORY_LOGS")
|
|
}
|
|
|
|
}
|
|
|
|
concurrentBuild(false)
|
|
|
|
triggers {
|
|
gerritTrigger {
|
|
serverName('OS-CommunityGerrit')
|
|
silentMode(true)
|
|
|
|
gerritProjects {
|
|
gerritProject {
|
|
compareType('PLAIN')
|
|
pattern("airship/treasuremap")
|
|
branches {
|
|
branch {
|
|
compareType("ANT")
|
|
pattern("**")
|
|
}
|
|
}
|
|
disableStrictForbiddenFileVerification(false)
|
|
|
|
filePaths {
|
|
filePath {
|
|
compareType('ANT')
|
|
pattern('global/**')
|
|
}
|
|
filePath {
|
|
compareType('ANT')
|
|
pattern('type/foundry/**')
|
|
}
|
|
filePath {
|
|
compareType('ANT')
|
|
pattern('site/seaworthy/**')
|
|
}
|
|
filePath {
|
|
compareType('ANT')
|
|
pattern('tools/**')
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
triggerOnEvents {
|
|
patchsetCreated {
|
|
excludeDrafts(false)
|
|
excludeTrivialRebase(false)
|
|
excludeNoCodeChange(false)
|
|
}
|
|
commentAddedContains {
|
|
commentAddedCommentContains('recheck')
|
|
}
|
|
}
|
|
|
|
cron('H H * * *')
|
|
}
|
|
|
|
definition {
|
|
cps {
|
|
script(readFileFromWorkspace("tools/gate/seaworthy/Jenkinsfile"))
|
|
sandbox(false)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|