Skip to content

Override before_script for sourcing autodevops

Mitchell Nielsen requested to merge 2240-fix-stop-review-jobs into master

Because the originating branch could have been deleted by the time the stop review jobs run, we had to set the GIT_CHECKOUT to false and check out master to access the autodevops functions.

We now see an issue where it says the autodevops file does not exist because when the before_script is called, it's operating in an empty repository.

This change causes the job to wait until master has been checked out to source the autodevops script.

Closes #2240 (closed)

Edited by Mitchell Nielsen

Merge request reports