Closed gittor closed 3 years ago
@gittor maybe you want to try https://api4jenkins.readthedocs.io/en/latest/user/example.html#jenkins
Hello, it could be a Jenkins misconfiguration.
What is configured for "Manage Jenkins-> Configure System -> Jenkins URL"? It should be set explicitly to http://10.10.12.29:8080
Hello, it could be a Jenkins misconfiguration. What is configured for "Manage Jenkins-> Configure System -> Jenkins URL"? It should be set explicitly to
http://10.10.12.29:8080
Thank you. Now I'm curious about why jenkins behaves like this. Why it doesn't read the computer's ip
Jenkins cannot know its own url, assuming you can host it:
Best practice is to set the url to access Jenkins in this field. It is then used to generate urls in email for example, and also in http headers.
Thank you all
ISSUE TYPE
Jenkinsapi 0.3.11
Jenkins 2.190.3
SUMMARY
when I run the code, JenkinsBase.get_data() returns jobs with url
http://localhost:8080
.likebut the 10.10.12.29 is not my ip, then Jenkins.py raises an exception.