Git clone using gitlab-ci-token fails (authentication error) with latest version of Gitlab.
When I try to clone a git repo (automatically or manually) using http and gitlab-ci-token, this error message appears:
Cloning into '[projectname]'... fatal: Authentication failed for 'http://gitlab-ci-token:[ci-token]@gitlab.anydomainhere.com/developers/[projectname].git/'
I just read that this is new since 8.12 and that this is happening due to new security enhancements....I understand... But now, HOW do I get it to work?
The runner is installed on my testserver. What I want is that the runner clones the repo and from there moves all needed files... But as I said before, the cloning stops at the authentication failed error... Is there a way to do a git clone with some kind of other token now? Or perhaps am I using the runner in a wrong kind of way here? Please help....