gate-quickstart: force repo checkout

We need to use force to be able to overwrite the current repo state as
the quickstart repo is already checked out during gating.

Change-Id: Ibb0eeca6a74efccdbd5c2eba84f9e96bab187ec3
This commit is contained in:
Attila Darazs 2016-11-29 15:00:11 +01:00 committed by John Trowbridge
parent b6c7489053
commit ecd1db82be
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@
repo: 'https://{{ gated_change.host }}/{{ gated_change.project }}'
dest: '{{ lookup("env", "WORKSPACE") }}/{{ gated_project_name }}'
refspec: '{{ gated_change.refspec }}'
force: yes
version: 'FETCH_HEAD'
# do not check out the gated change if it was already cloned by the jenkins job
when: gated_change.project != "{{ lookup('env', 'GERRIT_PROJECT') }}"