Cannot add Jenkins in DevOps tools area

Shan C
Mega Guru

Hello,

I am trying to add the Jenkins tool in SNOW. As a pre-requisite, I have the connections and alias added and they are good. When I try to add the Jenkins tool, getting below error.

Error while creating the tool : "Cannot create the tool as the Http Connection could not be created - User Not Authenticated - Required to provide Auth information"

As I checked, I have ADMIN permission for Jenkins, and have sn_devops.admin role as well in SNOW. Is there anything that I am missing? Appreciate any help.

 

[EDIT]

We have added the roles webservice_admin and rest_service roles to the devops.system user, and tried to add the tool again. Now, getting different error:

Error while creating the tool : "Flow devops_create_a_tool completed with an exception : com.glide.plan.runners.FlowObjectAPIException: The current operation ended in state: ERROR. Please check the flow execution for more details."

If anyone faced this type of issue or aware of, please post your experience.

1 ACCEPTED SOLUTION

Shan C
Mega Guru

Incase if any one in need of this.

After couple of days and analysis, found that the issue is because of our Jenkins instance is not accessible outside the company network, thus getting unknownHostException when we checked with support team to check the logs.

Fortunately, ServiceNow has an option for the network situations like these, and that's to use the MID server in the middle. This will get the communication happen between our company network and SNOW instance.

 

View solution in original post

1 REPLY 1

Shan C
Mega Guru

Incase if any one in need of this.

After couple of days and analysis, found that the issue is because of our Jenkins instance is not accessible outside the company network, thus getting unknownHostException when we checked with support team to check the logs.

Fortunately, ServiceNow has an option for the network situations like these, and that's to use the MID server in the middle. This will get the communication happen between our company network and SNOW instance.