diff --git a/tools/gate/Jenkinsfile b/tools/gate/Jenkinsfile index 9a01fdb00..ecd87cf4b 100644 --- a/tools/gate/Jenkinsfile +++ b/tools/gate/Jenkinsfile @@ -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') diff --git a/tools/gate/seed.groovy b/tools/gate/seed.groovy index a5ebb9132..245e890dc 100644 --- a/tools/gate/seed.groovy +++ b/tools/gate/seed.groovy @@ -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") + } + }