-
Notifications
You must be signed in to change notification settings - Fork 446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jenkins.Init() should check Response.StatusCode #210
Comments
Bpazy
added a commit
to Bpazy/gojenkins
that referenced
this issue
Jul 8, 2020
I have the same problem |
@eryajf Maybe you can try my fork: https://github.com/Bpazy/gojenkins PR: #214 |
figo
added a commit
that referenced
this issue
Feb 26, 2021
Jenkins.Init() should check Response.StatusCode #210
I think you should put the status code of the request in the error message
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Jenkins.Init()
return success even if invokinggojenkins.CraeteJenkins
with wrong auth.Here is the example code:
So
Jenkins.Init()
should check Response.StatusCode:gojenkins/jenkins.go
Lines 51 to 67 in 65ee8c9
The code should be written like this:
Jenkins version: 2.176.1
The text was updated successfully, but these errors were encountered: