X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=plans%2Fpolicy%2Fpap%2Fsetup.sh;fp=plans%2Fpolicy%2Fpap%2Fsetup.sh;h=8a613bca6d1eabfc337ef4eb9b8f03d7d557b5a8;hb=71e5737a578370615458b2a85067aa3ee69bc089;hp=0f1ab746dee69ca2e97940dfb521b4b4f2282f34;hpb=99022c8b866b18a8d08b8f1247dc63a4e81c834b;p=integration%2Fcsit.git diff --git a/plans/policy/pap/setup.sh b/plans/policy/pap/setup.sh index 0f1ab746..8a613bca 100644 --- a/plans/policy/pap/setup.sh +++ b/plans/policy/pap/setup.sh @@ -30,8 +30,10 @@ pip install -U docker==2.7.0 sudo apt-get -y install libxml2-utils -export POLICY_API_VERSION="$(curl -q --silent https://git.onap.org/policy/api/plain/pom.xml?h=${GERRIT_BRANCH} | xmllint --xpath '/*[local-name()="project"]/*[local-name()="version"]/text()' -)" -export POLICY_PAP_VERSION="$(curl -q --silent https://git.onap.org/policy/pap/plain/pom.xml?h=${GERRIT_BRANCH} | xmllint --xpath '/*[local-name()="project"]/*[local-name()="version"]/text()' -)" +POLICY_API_VERSION_EXTRACT="$(curl -q --silent https://git.onap.org/policy/api/plain/pom.xml?h=${GERRIT_BRANCH} | xmllint --xpath '/*[local-name()="project"]/*[local-name()="version"]/text()' -)" +export POLICY_API_VERSION="${POLICY_API_VERSION_EXTRACT:0:3}-SNAPSHOT-latest" +POLICY_PAP_VERSION_EXTRACT="$(curl -q --silent https://git.onap.org/policy/pap/plain/pom.xml?h=${GERRIT_BRANCH} | xmllint --xpath '/*[local-name()="project"]/*[local-name()="version"]/text()' -)" +export POLICY_PAP_VERSION="${POLICY_PAP_VERSION_EXTRACT:0:3}-SNAPSHOT-latest" echo ${POLICY_API_VERSION} echo ${POLICY_PAP_VERSION} # Adding this waiting container due to race condition between pap and mariadb