Add git fetch --tags to gerrit-git-prep.sh.
* modules/jenkins/files/slave_scripts/gerrit-git-prep.sh: Run `git fetch --tags origin` to make sure that we have all available tags`. Change-Id: I2cfd691659cd0e10f5295fbbe66b36b818d6d6b6 Reviewed-on: https://review.openstack.org/35527 Reviewed-by: Monty Taylor <mordred@inaugust.com> Approved: James E. Blair <corvus@inaugust.com> Reviewed-by: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
This commit is contained in:
parent
74a2da1d97
commit
dbe5f35a5a
@ -33,6 +33,7 @@ then
|
||||
fi
|
||||
git remote set-url origin $GERRIT_SITE/p/$ZUUL_PROJECT
|
||||
git remote update || git remote update # attempt to work around bug #925790
|
||||
git fetch --tags origin
|
||||
git reset --hard
|
||||
git clean -x -f -d -q
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user