X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fxci%2Fxci-deploy.sh;h=8ad63780587d603a007a172adc1dcfca584ef672;hb=1a1d548a72bd91ca1f1241ec8fb4c8afb944ab88;hp=1ef4e823790d360f34c62e132d82426ab07c4d7e;hpb=d1378b9f3d570d07af5a8f08144070059105373f;p=releng.git diff --git a/jjb/xci/xci-deploy.sh b/jjb/xci/xci-deploy.sh index 1ef4e8237..8ad637805 100755 --- a/jjb/xci/xci-deploy.sh +++ b/jjb/xci/xci-deploy.sh @@ -54,20 +54,22 @@ fi # proceed with the deployment cd $WORKSPACE/prototypes/xci -sudo -E ./xci-deploy.sh +./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"