summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorLinda Wang <wangwulin@huawei.com>2018-02-03 08:59:52 +0000
committerLinda Wang <wangwulin@huawei.com>2018-02-03 08:59:52 +0000
commit9c0a34eba94f87c6c5a02c52ccc521e9d5a6f4e8 (patch)
tree3b7bf97db8c82b93a519466cd85fec680a6cdc82 /jjb
parent3440fdad0d42cb6f77546d4618861b59f9a7cae6 (diff)
Fix functest daily job
Change-Id: Ia9bc336d43fe9ed47368f9aada0c6d9244a71683 Signed-off-by: Linda Wang <wangwulin@huawei.com>
Diffstat (limited to 'jjb')
-rwxr-xr-xjjb/functest/functest-daily-jobs.yml62
1 files changed, 20 insertions, 42 deletions
diff --git a/jjb/functest/functest-daily-jobs.yml b/jjb/functest/functest-daily-jobs.yml
index 1cf6892da..099d01a59 100755
--- a/jjb/functest/functest-daily-jobs.yml
+++ b/jjb/functest/functest-daily-jobs.yml
@@ -249,32 +249,13 @@
builders:
- description-setter:
description: "Built on $NODE_NAME"
- - conditional-step:
- condition-kind: regex-match
- regex: "os-.*"
- label: 'DEPLOY_SCENARIO'
- steps:
- - 'functest-{testsuite}-builder'
- - conditional-step:
- condition-kind: regex-match
- regex: "k8-.*"
- label: 'DEPLOY_SCENARIO'
- steps:
- - 'functest-k8-builder'
+ - 'functest-{testsuite}-builder'
########################
# parameter macros
########################
- parameter:
- name: functest-k8-parameter
- parameters:
- - string:
- name: FUNCTEST_MODE
- default: 'daily'
- description: "Daily suite name to run on K8 deployment"
-
-- parameter:
name: functest-daily-parameter
parameters:
- string:
@@ -399,31 +380,28 @@
- 'functest-exit'
- builder:
- name: functest-k8-builder
- builders:
- - 'functest-cleanup'
- - 'functest-daily-k8'
- - 'functest-store-results'
- - 'functest-exit'
-
-- builder:
- name: functest-daily-k8
- builders:
- # yamllint disable rule:indentation
- - shell:
- !include-raw:
- - ../../utils/fetch_k8_conf.sh
- - ./functest-k8.sh
-
-- builder:
name: functest-daily
builders:
# yamllint disable rule:indentation
- - shell:
- !include-raw:
- - ./functest-env-presetup.sh
- - ../../utils/fetch_os_creds.sh
- - ./functest-alpine.sh
+ - conditional-step:
+ condition-kind: regex-match
+ regex: "os-.*"
+ label: '$DEPLOY_SCENARIO'
+ steps:
+ - shell:
+ !include-raw:
+ - ./functest-env-presetup.sh
+ - ../../utils/fetch_os_creds.sh
+ - ./functest-alpine.sh
+ - conditional-step:
+ condition-kind: regex-match
+ regex: "k8-.*"
+ label: '$DEPLOY_SCENARIO'
+ steps:
+ - shell:
+ !include-raw:
+ - ../../utils/fetch_k8_conf.sh
+ - ./functest-k8.sh
# yamllint enable rule:indentation
- builder: