Publish pipeline logs to artifactory

Change-Id: Iaf036475abb4d5ea6098a2bae52fc0fda48851c3
This commit is contained in:
Egorov, Stanislav (se6518) 2019-02-28 13:21:21 -08:00
parent 930e873ef5
commit 93aaaf3b24
2 changed files with 11 additions and 1 deletions

View File

@ -318,7 +318,9 @@ def sanity_tests = {
//// main flow
vm(timeout: 360, publicNet: 'foundry') {
vm(timeout: 360,
publicNet: 'foundry',
artifactoryLogs: ARTIFACTORY_LOGS.toBoolean()) {
// wait and make sure genesis is up
ssh.wait (GENESIS_CREDS, GENESIS_IP, 'hostname')

View File

@ -15,6 +15,14 @@ pipelineJob('airship-seaworthy') {
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")
}
}