-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Critical
-
Component/s: collabnet-plugin
-
Environment:WinXP SP3 EN, Jenkins ver. 1.423
Hello folks,
I have been addressing similar issues in regards to connect to other systems and am still trying to get this to work.
Never the less, in order to make a proper research on my issue is it important to wrap this up from the beginning.
And the beginning is ... the Jenkins CLI of course.
So step one:
- java -jar jenkins-cli.jar -s http://b00012:8080/ help
results in:
You must authenticate to access this Hudson.
Use -username/password/-password-file parameters or login command.
Thats OK to me. BUT nothing like username or login will work.
Login:
- java -jar c:\bin\jenkins-cli.jar -s http://b00012:8080/ login
results in:
hudson.security.UserMayOrMayNotExistException: Unable to query user information: anonymous
at hudson.security.UserDetailsServiceProxy.loadUserByUsername(UserDetailsServiceProxy.java:43)
at hudson.security.SecurityRealm.loadUserByUsername(SecurityRealm.java:305)
at hudson.cli.ClientAuthenticationCache.set(ClientAuthenticationCache.java:94)
at hudson.cli.LoginCommand.run(LoginCommand.java:37)
...
All other attempts to fire a command from the CLI without using the login command but passing the user credentials with username/password ends up with:
"--username" is not a valid option"
I have tried it all possible methods that came across my mind or Google. Always the same crap.
I know that Alex Lustenberg has posted a java sample on the collab.net site that has to be adapted and compiled.
- I am no developer so this would take loads of time for me if I should get this working at all as different authentication methods (SSO/auth to CTF when auth to Jenkins) require different methods...or not. I'm no developer so what?

- The functionality is given as the collabnet plugin can authenticate versus CTF
- I have no time for this.
Maybe this would be an issue for Kohsuke ![]()
btw. sorry for the priority. But this issue makes an automatic system not so automatic anymore. This is getting close to a show stopper due to fail QoS