summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2017-04-04 16:09:41 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-04-04 16:09:41 +0000
commitf94e32342342ba129f5cdd769012b1c8f363fe1a (patch)
treed633279ae80fd160436ea084538403477b836df1
parent6e6882fcd2915870289c6612405be3c4e078b484 (diff)
parent2a88be0510fbe4695515097e98d996320c1bdcf9 (diff)
Merge "xci: Do not log info to console if running daily deployment"
-rwxr-xr-xjjb/xci/xci-deploy.sh26
1 files changed, 14 insertions, 12 deletions
diff --git a/jjb/xci/xci-deploy.sh b/jjb/xci/xci-deploy.sh
index 33457b9f0..07ca795da 100755
--- a/jjb/xci/xci-deploy.sh
+++ b/jjb/xci/xci-deploy.sh
@@ -56,18 +56,20 @@ fi
cd $WORKSPACE/prototypes/xci
sudo -E ./xci-deploy.sh
-# if we arrived here without failing, it means we have something we can pin
-# this is again here to show the intention
-cd $WORKSPACE/openstack-ansible
-OSA_GIT_SHA1=$(git rev-parse HEAD)
+if [[ "$JOB_NAME" =~ "periodic" && "$OPENSTACK_OSA_VERSION" == "master" ]]; then
+ # if we arrived here without failing, it means we have something we can pin
+ # this is again here to show the intention
+ cd $WORKSPACE/openstack-ansible
+ OSA_GIT_SHA1=$(git rev-parse HEAD)
-# log some info
-echo -e "\n"
-echo "***********************************************************************"
-echo "* OSA SHA1 TO PIN *"
-echo "* *"
-echo " $OSA_GIT_SHA1"
-echo "* *"
-echo "***********************************************************************"
+ # log some info
+ echo -e "\n"
+ echo "***********************************************************************"
+ echo "* OSA SHA1 TO PIN *"
+ echo "* *"
+ echo " $OSA_GIT_SHA1"
+ echo "* *"
+ echo "***********************************************************************"
+fi
echo -e "\n"