Code Review
/
releng.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Finish Airship test jobs
[releng.git]
/
jjb
/
airship
/
airship.yaml
diff --git
a/jjb/airship/airship.yaml
b/jjb/airship/airship.yaml
index
5b39975
..
ef0b395
100644
(file)
--- a/
jjb/airship/airship.yaml
+++ b/
jjb/airship/airship.yaml
@@
-56,8
+56,7
@@
name: airship-run-containers
builders:
- shell: |
name: airship-run-containers
builders:
- shell: |
- set +e
- set -x
+ set +ex
[ ! -z "$WORKSPACE" ] && rm -rf $WORKSPACE/* || true
if [ "{repo}" = "_" ]; then
image={container}:{tag}
[ ! -z "$WORKSPACE" ] && rm -rf $WORKSPACE/* || true
if [ "{repo}" = "_" ]; then
image={container}:{tag}
@@
-66,7
+65,6
@@
else
image={repo}:{port}/{container}:{tag}
fi
else
image={repo}:{port}/{container}:{tag}
fi
- echo $WORKSPACE
docker run --rm \
-e TEST_DB_URL=http://testresults.opnfv.org/test/api/v1/results \
-e NODE_NAME=intel-pod17 \
docker run --rm \
-e TEST_DB_URL=http://testresults.opnfv.org/test/api/v1/results \
-e NODE_NAME=intel-pod17 \
@@
-81,7
+79,7
@@
$image run_tests -t {test} -r
res=$?
gsutil -m cp -r $WORKSPACE/ \
$image run_tests -t {test} -r
res=$?
gsutil -m cp -r $WORKSPACE/ \
- gs://artifacts.opnfv.org/airship/$JOB_NAME-$BUILD_ID
+ gs://artifacts.opnfv.org/airship/$JOB_NAME-$BUILD_ID
> /dev/null 2>&1
find $WORKSPACE -type f \
-printf \
"http://artifacts.opnfv.org/airship/$JOB_NAME-$BUILD_ID/%P\n"
find $WORKSPACE -type f \
-printf \
"http://artifacts.opnfv.org/airship/$JOB_NAME-$BUILD_ID/%P\n"