pre_clone_script blocks fetching changes

Hello,

We are currently running cleanup tasks prior to starting the validation jobs in our pipelines and noticed the following behavior.

When we add the line pre_clone_script on the config.toml file in the runner and then trigger a pipeline on that runner then the runner does not fetch any new changes from the remote repository and only uses the current git data available in the builds folder.

When we remove that line in the pre_clone_script then the runner does fetch the new commits...

I have been unable to find any exclusion of these 2 actions in the documentation...

Is this the normal behavior ?

Thanks in advance.

Kind regards.

Assignee Loading
Time tracking Loading