name: slave
default: '{slave}'
+- parameter:
+ name: xtesting-build_tag
+ parameters:
+ - random-string:
+ name: build_tag
+
- parameter:
name: xtesting-branch
parameters:
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 \
parameters:
- xtesting-slave:
slave: '{slave}'
+ - xtesting-build_tag:
+ build_tag: ''
builders:
- xtesting-run-containers:
<<: *xtesting-run-containers
parameters:
- xtesting-slave:
slave: '{slave}'
+ - xtesting-build_tag:
+ build_tag: ''
properties:
- build-blocker:
use-build-blocker: true
parameters:
- xtesting-slave:
slave: '{slave}'
+ - xtesting-build_tag:
+ build_tag: ''
- xtesting-branch:
branch: '{branch}'
properties:
parameters:
- xtesting-slave:
slave: '{slave}'
+ - xtesting-build_tag:
+ build_tag: ''
properties:
- build-blocker:
use-build-blocker: true