Error: ServiceNow Instance URL is NOT valid. Please correct the URL and try again.

deepthik_23
Giga Contributor

We get the above error when trying to implement Sonar scan with the Github actions pipelines.

We are using the action from Market place 

https://github.com/marketplace/actions/servicenow-devops-sonar

 

Here the input for SN_INSTANCE_URL is https://test.service-now.com/ . We too have used our instance details fully.

https://<instance name>.service-now.com

We get the below error while running the job in github actions

deepthik_23_0-1709720462059.png

Did anyone implement Sonar with Gitub actions ?

We followed everything from the Marketplace link.

Any missing thread ?

 

2 REPLIES 2

Marcos Kassak
Kilo Sage
Kilo Sage

Hi @deepthik_23,

 

Make sure you don't add the / at the very end, should be like https://test.service-now.com

 

Try it and let me know!

Hi @Marcos Kassak.

We have added the secretes without / but still facing the same issue.