SJRK-428: Deployment step fails when there is a forced push

Metadata

Source
SJRK-428
Type
Bug
Priority
Major
Status
Open
Resolution
N/A
Assignee
Giovanni Tirloni
Reporter
Giovanni Tirloni
Created
2020-11-16T16:02:28.881-0500
Updated
2020-11-16T16:46:40.133-0500
Versions
N/A
Fixed Versions
N/A
Component
N/A

Description

Because the deployment step works with a pre-cloned repository directory and then runs `git pull`, when there is a forced push, `git pull` fails to checkout the correct commit.

The deployment step needs to be changed to clone the repository from scratch every time (or to use a different git method to retrieve changes).