we are trying to integrate vRealize Code Stream with Jenkins and GitHub
we are unable to configure endpoint for Jenkins server in code stream, we getting "unable to connect to Jenkins server "
shall we get proper steps for endpoint configuration, is there anything to check list to be followed before endpoint configuration
could you please post the following details:
1. version of Code Stream
2. version of Jenkins
3. is the host running Jenkins server reachable from Code Stream server? (you can ping to find out)
1. version of Code Stream - Code Stream 2.2
2. version of Jenkins - Jenkins ver. 2.32.1
3. is the host running Jenkins server reachable from Code Stream server? (you can ping to find out) - YES able to ping HOST from code stream server to Jenkins server
Also, Can you attach the log file at: "/var/log/vmware/tekton/tekton_server.log " (on Code Stream server)
(you could post the snippet for the time interval where you try to add the endpoint).
Endpoint URL : http://localhost:8080
Time interval : 15 Sec by default value not changed anything.
URL : http://localhost:8080
Folder Path : not sure which path need to mentioned to get all job list from Jenkins (tried with locating workspace folder from Jenkins server) getting error "Server Error"
user name : Jenkins server username
password : Jenkins password
Poll Interval (sec) : 15
Request Retries : 5
Retry Wait Time (sec): 60
from the logs, it appears to be an incorrect URL (in bold below).
Caused by: java.net.URISyntaxException: Illegal character in path at index 29: http://<HOST IP>:8080/C:\Program Files (x86)\Jenkins\jobs\Test Project/api/json?tree=jobs[name,actions[parameterDefinitions[name,value,type,choices]],buildable]
can you please check if the URL is just http://<host>:port ?
(no trailing forward slash either).
as for the Folders path input, that's an optional field which you can use when you have Jenkins jobs within Folders (using the Jenkins' folder plugin)
I had a similar issue and some how got it resolved by installing some certs. Now I am facing an issue with folder option plugin where it is failing with the below error while saving the end point configuration in code stream.
I tried adding the below parameter in the Jenkins job as well which didn't work. I referred to this link https://theithollow.com/2016/05/09/using-jenkins-vrealize-code-stream/.
Can you please assist me if you know the issue ?
I have deployed the plugin version 1.3 to Jenkins, but the task "Execute CodeStream Pipeline" never appears as an option in add a build step. The plugin appears to be deployed correctly, and I do not see any errors for the plugin in the logs. The same result occurred with the first release as well, the 1.0 version.
Jenkins Version: 2.82
Any suggestions for troubleshooting why the plugin is not populating as an option for a build step?