1

Here is the error I get when trying to configure the SCM URL of the job:

Failed to connect to repository : 
  Command 
  "/usr/bin/git ls-remote -h -- https://xgitlab.asee.org/asee-fro/asee-fro.git HEAD" 
  returned status code 128:
stdout:
stderr: remote: HTTP Basic: Access denied
fatal: Authentication failed for 'https://xgitlab.asee.org/asee-fro/asee-fro.git/'

How can I get past this error?

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250

1 Answers1

0

If you have the Jenkins Credentials plugin installed, you should:

  • register the right account/password required to access xgitlab.asee.org/asee-fro/asee-fro

credentials

  • use that credential in the configuration of your job

creds job

Source: Jenkins and GIT Integration using SSH Key (using an SSH creds, but the same process applies for an HTTPS creds)

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250