Remote: HTTP Basic: Access denied


i use Jenkins for CI and wrote a Jenkins Pipeline file. After a job is done, I want to do a git push to a repository. I am using the withcredentials function.

my command is the following:
git push https://gitlab-ci-token:token@gitlab.repo.git

But the result is always the same:
Cloning into ‘reponame’…
remote: HTTP Basic: Access denied
fatal: Authentication failed for ‘http://gitlab.repo.git/

For example I make a:
git clone repo
in powershell and paste the username and pw when it asks, it works fine. But not in one request.

I removed the gitlab credentials in Windows 10, but nothing changed. Has anyone an idea?

Thank you and best regards