Change-Id: I0d662409bfde353c8efd2fa3fd8cacf9c849428b
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
info "Updating Rally repository...."
cd ${RALLY_REPO_DIR}
+ if [ ${RALLY_BRANCH} != "master" ]; then
+ info "Rally repo: checkout ${RALLY_BRANCH} branch..."
+ git checkout ${RALLY_BRANCH}
+ fi
info "Rally repo: pulling to latest..."
git pull
+ if [ ${RALLY_COMMIT} != "latest" ]; then
+ info "Rally repo: given commit is ${RALLY_COMMIT}. Reseting..."
+ git reset --hard ${RALLY_COMMIT}
+ fi
info "Updating vIMS test repository...."
cd ${VIMS_REPO_DIR}