diff options
author | MatthewLi <matthew.lijun@huawei.com> | 2016-12-05 01:45:16 -0500 |
---|---|---|
committer | MatthewLi <matthew.lijun@huawei.com> | 2016-12-05 02:00:41 -0500 |
commit | 24504cee3d619d00215937a025a83224492f12ec (patch) | |
tree | 952b1a39399eac4105c06d60b4a4beb42ef575e0 /jjb/dovetail | |
parent | 06547903ca974b6e1ec3625d596c1906d4a416a4 (diff) |
dovetail: to support multi_testsuite
JIRA: DOVETAIL-150
Change-Id: Iae4aec947c9cbe5fc4535338908d9e4d51f4ce44
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
Diffstat (limited to 'jjb/dovetail')
-rw-r--r-- | jjb/dovetail/dovetail-ci-jobs.yml | 13 | ||||
-rwxr-xr-x | jjb/dovetail/dovetail-run.sh | 4 |
2 files changed, 12 insertions, 5 deletions
diff --git a/jjb/dovetail/dovetail-ci-jobs.yml b/jjb/dovetail/dovetail-ci-jobs.yml index 29212005d..263e3b261 100644 --- a/jjb/dovetail/dovetail-ci-jobs.yml +++ b/jjb/dovetail/dovetail-ci-jobs.yml @@ -112,7 +112,9 @@ <<: *master #-------------------------------- testsuite: - - 'basic' + - 'debug' + - 'proposed_tests' + - 'compliace_set' jobs: - 'dovetail-{SUT}-{pod}-{testsuite}-{stream}' @@ -159,6 +161,10 @@ name: CI_DEBUG default: 'true' description: "Show debug output information" + - string: + name: TESTSUITE + default: '{testsuite}' + description: "dovetail testsuite to run" scm: - git-scm: @@ -170,7 +176,7 @@ - description-setter: description: "POD: $NODE_NAME" - 'dovetail-cleanup' - - 'dovetail-{testsuite}' + - 'dovetail-run' publishers: - archive: @@ -182,11 +188,12 @@ # builder macros ######################## - builder: - name: dovetail-basic + name: dovetail-run builders: - shell: !include-raw: ./dovetail-run.sh + - builder: name: dovetail-fetch-os-creds builders: diff --git a/jjb/dovetail/dovetail-run.sh b/jjb/dovetail/dovetail-run.sh index 098b7db0c..c792b1e6b 100755 --- a/jjb/dovetail/dovetail-run.sh +++ b/jjb/dovetail/dovetail-run.sh @@ -47,8 +47,8 @@ docker pull opnfv/dovetail:$DOCKER_TAG >$redirect # Run docker echo "Dovetail: docker running..." -sudo docker run ${opts} ${envs} ${labconfig} ${sshkey} opnfv/dovetail:${DOCKER_TAG} \ -"/home/opnfv/dovetail/dovetail/run.py" +cmds = "${DOVETAIL_REPO_DIR}/dovetail/run.py --testsuite $TESTSUITE" +sudo docker run ${opts} ${envs} ${labconfig} ${sshkey} opnfv/dovetail:${DOCKER_TAG} ${cmds} echo "Dovetail: store results..." sudo cp -r /home/opnfv/dovetail/results ./ |