summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2015-10-14 10:34:26 -0400
committerDan Radez <dradez@redhat.com>2015-10-14 11:07:42 -0400
commit5e8846af776f5e853f8b1247c9012db085b5c879 (patch)
tree1403459d036f0d66cb25645eed5fcb6d7ce341be /jjb
parent6dce21e6d212f4680c33ffad563a56b288906518 (diff)
adding Apex rpm references to Apex builds
Change-Id: If38e207d9d08445c208bd3d6a6b0dacd30d5ba26 Signed-off-by: Dan Radez <dradez@redhat.com>
Diffstat (limited to 'jjb')
-rw-r--r--jjb/apex/apex.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/jjb/apex/apex.yml b/jjb/apex/apex.yml
index 65f042f50..c0d60f701 100644
--- a/jjb/apex/apex.yml
+++ b/jjb/apex/apex.yml
@@ -249,6 +249,9 @@
echo "OPNFV_GIT_SHA1=$(git rev-parse HEAD)"
echo "OPNFV_ARTIFACT_URL=$GS_URL/opnfv-$OPNFV_ARTIFACT_VERSION.iso"
echo "OPNFV_ARTIFACT_MD5SUM=$(md5sum $BUILD_DIRECTORY/OPNFV-CentOS-7-x86_64-$OPNFV_ARTIFACT_VERSION.iso | cut -d' ' -f1)"
+ echo "OPNFV_SRPM_URL=$GS_URL/opnfv-apex-$(grep Version build/opnfv-apex.spec | awk '{ print $2 }')-$(echo $OPNFV_ARTIFACT_VERSION | tr -d '-_').src.rpm"
+ echo "OPNFV_RPM_URL=$GS_URL/opnfv-apex-$(grep Version build/opnfv-apex.spec | awk '{ print $2 }')-$(echo $OPNFV_ARTIFACT_VERSION | tr -d '-_').rpm"
+ echo "OPNFV_RPM_MD5SUM=$(md5sum $BUILD_DIRECTORY/$(grep Version build/opnfv-apex.spec | awk '{ print $2 }')-$(echo $OPNFV_ARTIFACT_VERSION | tr -d '-_').rpm)"
echo "OPNFV_BUILD_URL=$BUILD_URL"
) > $WORKSPACE/opnfv.properties
echo
@@ -285,13 +288,16 @@
# upload artifact and additional files to google storage
gsutil cp $BUILD_DIRECTORY/OPNFV-CentOS-7-x86_64-$OPNFV_ARTIFACT_VERSION.iso gs://$GS_URL/opnfv-$OPNFV_ARTIFACT_VERSION.iso > gsutil.iso.log 2>&1
+ gsutil cp $BUILD_DIRECTORY/$(basename $OPNFV_RPM_URL) gs://$GS_URL/$(basename $OPNFV_RPM_URL) > gsutil.iso.log 2>&1
+ gsutil cp $BUILD_DIRECTORY/$(basename $OPNFV_SRPM_URL) gs://$GS_URL/$(basename $OPNFV_SRPM_URL) > gsutil.iso.log 2>&1
gsutil cp $WORKSPACE/opnfv.properties gs://$GS_URL/opnfv-$OPNFV_ARTIFACT_VERSION.properties > gsutil.properties.log 2>&1
gsutil cp $WORKSPACE/opnfv.properties gs://$GS_URL/latest.properties > gsutil.latest.log 2>&1
echo
echo "--------------------------------------------------------"
echo "Done!"
- echo "Artifact is available as http://$GS_URL/opnfv-$OPNFV_ARTIFACT_VERSION.iso"
+ echo "ISO Artifact is available as http://$GS_URL/opnfv-$OPNFV_ARTIFACT_VERSION.iso"
+ echo "RPM Artifact is available as http://$GS_URL/$(basename $OPNFV_RPM_URL)"
#######################