summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2015-04-01 14:40:50 +0200
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>2015-04-01 14:40:50 +0200
commit875ed6488a27fe5e147a28b185474acd2a44cc66 (patch)
treeb39efdf8fdb05e816374b8ce3398fec92ed3c042
parent48e35f22ae44badb2812d7a6b0b047ce7e65f6bc (diff)
Enable artifact download for genesis/fuel
JIRA: OCTO-26 Change-Id: I9bb5d35c843393e492e7d33f39128a50b57ecdf0 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
-rw-r--r--jjb/genesis/genesis.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/jjb/genesis/genesis.yml b/jjb/genesis/genesis.yml
index 2a53f7db3..790b3862a 100644
--- a/jjb/genesis/genesis.yml
+++ b/jjb/genesis/genesis.yml
@@ -317,6 +317,31 @@
gsutil cp opnfv-$BUILD_ID.properties gs://$GS_URL/opnfv-$BUILD_ID.properties
gsutil cp latest.properties gs://$GS_URL/latest.properties
+ - shell: |
+ #!/bin/bash
+ set -o errexit
+ set -o nounset
+ set -o pipefail
+ set -x
+
+ # get the latest.properties file in order to get info regarding latest artifact
+ gsutil cp gs://$GS_URL/latest.properties latest.properties
+
+ # check if we got the file
+ [[ -f latest.properties ]] || exit 1
+
+ # source the file so we get OPNFV vars
+ source latest.properties
+
+ # list OPNFV env vars for info
+ env | grep '^OPNFV'
+
+ # download the file
+ gsutil cp gs://$OPNFV_ARTIFACT_URL $WORKSPACE/opnfv.iso
+
+ # list the file
+ ls -al $WORKSPACE/opnfv.iso
+
- builder:
name: opensteak-verify
builders: