sandbox: Enable all verify downstream jobs and fix scm config 35/16535/1
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>
Thu, 7 Jul 2016 09:34:32 +0000 (11:34 +0200)
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>
Thu, 7 Jul 2016 09:34:32 +0000 (11:34 +0200)
Change-Id: Ide0490828f43c3d72772f01e31990ab55609e202
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
jjb/sandbox/sandbox-verify-jobs.yml

index eda212b..ee9f763 100644 (file)
@@ -13,9 +13,9 @@
 # what are the verification activities we do for this installer
     activity:
         - 'basic'
-#        - 'build'
-#        - 'deploy'
-#        - 'test'
+        - 'build'
+        - 'deploy'
+        - 'test'
 
     jobs:
         - 'sandbox-verify-{stream}'
             branch: '{branch}'
         - 'opnfv-build-ubuntu-defaults'
 
+    scm:
+        - gerrit-trigger-scm:
+            credentials-id: '{ssh-credentials}'
+            refspec: '$GERRIT_REFSPEC'
+            choosing-strategy: 'gerrit'
+
+    wrappers:
+        - ssh-agent-credentials:
+            users:
+                - '{ssh-credentials}'
+        - timeout:
+            timeout: 360
+            fail: true
+
     triggers:
         - gerrit:
             trigger-on:
 - job-template:
     name: 'sandbox-verify-{activity}-{stream}'
 
+    scm:
+        - gerrit-trigger-scm:
+            credentials-id: '{ssh-credentials}'
+            refspec: '$GERRIT_REFSPEC'
+            choosing-strategy: 'gerrit'
+
     wrappers:
+        - ssh-agent-credentials:
+            users:
+                - '{ssh-credentials}'
         - timeout:
-            timeout: 180
+            timeout: 360
             fail: true
 
     parameters:
         - project-parameter:
             project: '{project}'
+        - gerrit-parameter:
+            branch: '{branch}'
         - '{installer}-defaults'
         - '{project}-verify-{activity}-parameter'