functest: Adjust job timeout based on the loop 19/17419/1
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>
Fri, 22 Jul 2016 13:39:42 +0000 (15:39 +0200)
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>
Fri, 22 Jul 2016 13:39:42 +0000 (15:39 +0200)
Change-Id: I405bcbf26965a5290fb8dad9786881251e6aea81
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
jjb/functest/functest-ci-jobs.yml

index 28ea643..6a571ab 100644 (file)
 #--------------------------------
 
     testsuite:
 #--------------------------------
 
     testsuite:
-        - 'daily'
-        - 'weekly'
-        - 'suite'
+        - 'suite':
+            job-timeout: 60
+        - 'daily':
+            job-timeout: 120
+        - 'weekly':
+            job-timeout: 400
 
     jobs:
         - 'functest-{installer}-{pod}-{testsuite}-{stream}'
 
     jobs:
         - 'functest-{installer}-{pod}-{testsuite}-{stream}'
         - build-name:
             name: '$BUILD_NUMBER Suite: $FUNCTEST_SUITE_NAME Scenario: $DEPLOY_SCENARIO'
         - timeout:
         - build-name:
             name: '$BUILD_NUMBER Suite: $FUNCTEST_SUITE_NAME Scenario: $DEPLOY_SCENARIO'
         - timeout:
-            timeout: 400
+            timeout: '{job-timeout}'
             abort: true
 
     parameters:
             abort: true
 
     parameters: