From 93aaaf3b244555f1f2e400a59c1871821742bcd0 Mon Sep 17 00:00:00 2001 From: "Egorov, Stanislav (se6518)" Date: Thu, 28 Feb 2019 13:21:21 -0800 Subject: [PATCH] Publish pipeline logs to artifactory Change-Id: Iaf036475abb4d5ea6098a2bae52fc0fda48851c3 --- tools/gate/Jenkinsfile | 4 +++- tools/gate/seed.groovy | 8 ++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) 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") + } + }