Browse Source

Publish pipeline logs to artifactory

Change-Id: Iaf036475abb4d5ea6098a2bae52fc0fda48851c3
tags/v1.0
Egorov, Stanislav (se6518) 2 months ago
parent
commit
93aaaf3b24
2 changed files with 11 additions and 1 deletions
  1. 3
    1
      tools/gate/Jenkinsfile
  2. 8
    0
      tools/gate/seed.groovy

+ 3
- 1
tools/gate/Jenkinsfile View File

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

+ 8
- 0
tools/gate/seed.groovy View File

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

Loading…
Cancel
Save