summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEgorov, Stanislav (se6518) <segorov@mirantis.com>2019-02-28 13:21:21 -0800
committerEgorov, Stanislav (se6518) <segorov@mirantis.com>2019-02-28 13:21:21 -0800
commit93aaaf3b244555f1f2e400a59c1871821742bcd0 (patch)
tree31c87205a15bb540d2bb1cc73fb54186e32d1321
parent930e873ef5914e38656daf109bf7f032cc6691f7 (diff)
Publish pipeline logs to artifactory
Notes
Notes (review): Code-Review+2: Kaspars Skels <kaspars.skels@gmail.com> Code-Review+1: Drew Walters <drewwalters96@gmail.com> Code-Review+1: Sirajudeen <sirajudeen.yasin@gmail.com> Code-Review+1: Nishant Kumar <nishant.e.kumar@ericsson.com> Code-Review+2: Scott Hussey <sthussey@att.com> Workflow+1: Scott Hussey <sthussey@att.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 14 Mar 2019 21:21:51 +0000 Reviewed-on: https://review.openstack.org/640192 Project: openstack/airship-treasuremap Branch: refs/heads/master
-rw-r--r--tools/gate/Jenkinsfile4
-rw-r--r--tools/gate/seed.groovy8
2 files changed, 11 insertions, 1 deletions
diff --git a/tools/gate/Jenkinsfile b/tools/gate/Jenkinsfile
index 9a01fdb..ecd87cf 100644
--- a/tools/gate/Jenkinsfile
+++ b/tools/gate/Jenkinsfile
@@ -318,7 +318,9 @@ def sanity_tests = {
318 318
319//// main flow 319//// main flow
320 320
321vm(timeout: 360, publicNet: 'foundry') { 321vm(timeout: 360,
322 publicNet: 'foundry',
323 artifactoryLogs: ARTIFACTORY_LOGS.toBoolean()) {
322 // wait and make sure genesis is up 324 // wait and make sure genesis is up
323 ssh.wait (GENESIS_CREDS, GENESIS_IP, 'hostname') 325 ssh.wait (GENESIS_CREDS, GENESIS_IP, 'hostname')
324 326
diff --git a/tools/gate/seed.groovy b/tools/gate/seed.groovy
index a5ebb91..245e890 100644
--- a/tools/gate/seed.groovy
+++ b/tools/gate/seed.groovy
@@ -15,6 +15,14 @@ pipelineJob('airship-seaworthy') {
15 name("AIRSHIP_MANIFESTS_REF") 15 name("AIRSHIP_MANIFESTS_REF")
16 trim(true) 16 trim(true)
17 } 17 }
18 booleanParam {
19 defaultValue(true)
20 description('Flag to publish the console log from the pipeline run to artifactory. ' +
21 'Set this value to false, if you should want to suppress uploading ' +
22 'and publishing of the pipeline logs to the artifactory.')
23 name("ARTIFACTORY_LOGS")
24 }
25
18 } 26 }
19 27
20 28