diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-12-15 11:54:26 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-12-15 11:54:26 +0100 |
commit | 47fda3149de3d0abd9fca45e552cc67129e7d24c (patch) | |
tree | 30bfd8b634970ba9f2720c5480770c48a4507383 /jjb/functest/xtesting.yaml | |
parent | a30200767b553b8fcbfff6077df937428be99338 (diff) |
Add buid_tag in Functest jobs
It eases archiving all logs (third-party certification).
Change-Id: Ief9c89ac9cf5a748fb8f6965078c9651fd0066ac
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'jjb/functest/xtesting.yaml')
-rw-r--r-- | jjb/functest/xtesting.yaml | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/jjb/functest/xtesting.yaml b/jjb/functest/xtesting.yaml index b34fc100c..2cb08727a 100644 --- a/jjb/functest/xtesting.yaml +++ b/jjb/functest/xtesting.yaml @@ -29,6 +29,12 @@ default: '{slave}' - parameter: + name: xtesting-build_tag + parameters: + - random-string: + name: build_tag + +- parameter: name: xtesting-branch parameters: - string: @@ -104,8 +110,9 @@ fi sudo docker run --rm \ -e S3_ENDPOINT_URL=https://storage.googleapis.com \ - -e S3_DST_URL=s3://artifacts.opnfv.org/xtesting/$JOB_NAME-$BUILD_ID \ - -e HTTP_DST_URL=http://artifacts.opnfv.org/xtesting/$JOB_NAME-$BUILD_ID \ + -e S3_DST_URL=s3://artifacts.opnfv.org/xtesting/$BUILD_TAG/$JOB_NAME-$BUILD_ID \ + -e HTTP_DST_URL=http://artifacts.opnfv.org/xtesting/$BUILD_TAG/$JOB_NAME-$BUILD_ID \ + -e BUILD_TAG=$BUILD_TAG \ -v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \ -v /home/opnfv/xtesting/.boto:/root/.boto \ -e DEBUG=true \ @@ -171,6 +178,8 @@ parameters: - xtesting-slave: slave: '{slave}' + - xtesting-build_tag: + build_tag: '' builders: - xtesting-run-containers: <<: *xtesting-run-containers @@ -202,6 +211,8 @@ parameters: - xtesting-slave: slave: '{slave}' + - xtesting-build_tag: + build_tag: '' properties: - build-blocker: use-build-blocker: true @@ -299,6 +310,8 @@ parameters: - xtesting-slave: slave: '{slave}' + - xtesting-build_tag: + build_tag: '' - xtesting-branch: branch: '{branch}' properties: @@ -376,6 +389,8 @@ parameters: - xtesting-slave: slave: '{slave}' + - xtesting-build_tag: + build_tag: '' properties: - build-blocker: use-build-blocker: true |