diff options
Diffstat (limited to 'jjb/airship/cntt.yaml')
-rw-r--r-- | jjb/airship/cntt.yaml | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/jjb/airship/cntt.yaml b/jjb/airship/cntt.yaml index f39ea4223..94cfd4bf0 100644 --- a/jjb/airship/cntt.yaml +++ b/jjb/airship/cntt.yaml @@ -352,6 +352,45 @@ jobs: - 'cntt-{repo}-{container}-{tag}-{test}-run' +- builder: + name: cntt-zip + builders: + - shell: | + set +x + [ ! -z "$WORKSPACE" ] && rm -rf $WORKSPACE/* || true + if [ "{repo}" = "_" ]; then + image={container}:{functest_tag} + elif [ "{port}" = "None" ]; then + image={repo}/{container}:{functest_tag} + else + image={repo}:{port}/{container}:{functest_tag} + fi + docker run --rm \ + -e S3_ENDPOINT_URL=https://storage.googleapis.com \ + -e S3_DST_URL=s3://artifacts.opnfv.org/airship \ + -e HTTP_DST_URL=http://artifacts.opnfv.org/airship/ \ + -e TEST_DB_URL=http://testresults.opnfv.org/test/api/v1/results \ + -e TEST_DB_EXT_URL=http://testresults.opnfv.org/test/api/v1/results \ + -e BUILD_TAG=$BUILD_TAG \ + -v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \ + $image zip_campaign + +- job-template: + name: 'cntt-{tag}-zip' + parameters: + - cntt-build_tag: + build_tag: '' + builders: + - cntt-zip: + <<: *cntt-containers + +- project: + name: 'cntt-{tag}-zip' + <<: *cntt-params + container: 'functest-healthcheck' + jobs: + - 'cntt-{tag}-zip' + - job-template: name: 'cntt-{tag}-daily' project-type: multijob @@ -509,6 +548,11 @@ <<: *cntt-jobs - name: 'cntt-opnfv-functest-vnf-{tag}-juju_epc-run' <<: *cntt-jobs + - multijob: + name: dump all campaign data + projects: + - name: 'cntt-{tag}-zip' + <<: *cntt-jobs - trigger: name: cntt-patchset-created |