0
votes

I have a Jenkins instance hosted in AWS and I have created a Job to trigger test execution in aws VM. Now I'm creating a service connection in Azure devops to trigger this job whenever there is a build triggered in azure release pipeline.

But I'm getting below error while creating service connection. This jenkins URL is publicly accessible.

enter image description here

1

1 Answers

0
votes

You should:

1.Make sure the Url is correct with http/https

2.Enable the Accept untrusted SSL certificates (optional)

3.Double-check the UserName and Password. If the issue persists, use Token instead of password (Jenkins Configure > API Token > Add new Token)

4.If both Password and Token can't work, you can enter the Service Connection name and then Save without verification.

enter image description here

It seems there's something wrong with verify step in some cases, so you can ignore the verification and use the service connection directly in your task. Check these two tickets. (Issue1, Issue2)

Let me know if it helps.