diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2018-03-01 14:15:21 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2018-03-01 14:15:21 +0800 |
commit | d8524c55786880d0e49a2ede20fd9bc7a6684693 (patch) | |
tree | 4c092f83c2b746c69f8e9b1cc6b72a4fa36c2802 /jjb | |
parent | 6e3ad4c99263008c0740c70c692bd2ee397ee13d (diff) |
add testapi-client verify job
Change-Id: I83f57a0967d6b8744a7c4890092fe0596e705291
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/releng/testresults-verify.yml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/jjb/releng/testresults-verify.yml b/jjb/releng/testresults-verify.yml index ba14a7c96..958833c0f 100644 --- a/jjb/releng/testresults-verify.yml +++ b/jjb/releng/testresults-verify.yml @@ -11,6 +11,7 @@ jobs: - '{module}-verify-{stream}' + - '{module}-client-verify-{stream}' project: 'releng-testresults' @@ -44,3 +45,34 @@ publishers: - publish-coverage - email-jenkins-admins-on-failure + +- job-template: + name: '{module}-client-verify-{stream}' + + parameters: + - project-parameter: + project: '{project}' + branch: '{branch}' + - 'opnfv-build-ubuntu-defaults' + + scm: + - git-scm-gerrit + + triggers: + - gerrit-trigger-patchset-created: + server: 'gerrit.opnfv.org' + project: '**' + branch: '{branch}' + files: '{module}/{module}-client/**' + + builders: + - shell: | + cd {module}/{module}-client + tox + if [ -e *.xml ];then + cp *.xml $WORKSPACE + fi + + publishers: + - publish-coverage + - email-jenkins-admins-on-failure |