Hi, I ran into a problem trying to use jenkins-cli with Atlassian Crowd authentification (using the crowd2 plugin. As soon as I set the security realm (using a Groovy script from a Chef recipe), Jenkins throws tons of like this:
---- Jan 07, 2016 1:50:46 PM hudson.TcpSlaveAgentListener$ConnectionHandler run INFO: Accepted connection #2663 from /127.0.0.1:32924 Exception in thread "Thread-5332" org.acegisecurity.userdetails.UsernameNotFoundException: jenkinsdeploy at hudson.security.SecurityRealm$None$2.loadUserByUsername(SecurityRealm.java:494) at jenkins.security.ImpersonatingUserDetailsService.loadUserByUsername(ImpersonatingUserDetailsService.java:32) at hudson.model.User.impersonate(User.java:309) at org.jenkinsci.main.modules.cli.auth.ssh.SshCliAuthenticator.authenticate(SshCliAuthenticator.java:44) at hudson.cli.CliManagerImpl$2.run(CliManagerImpl.java:109) Jan 07, 2016 1:50:47 PM hudson.TcpSlaveAgentListener$ConnectionHandler run INFO: Accepted connection #2664 from /127.0.0.1:32926 Exception in thread "Thread-5334" org.acegisecurity.userdetails.UsernameNotFoundException: jenkinsdeploy at hudson.security.SecurityRealm$None$2.loadUserByUsername(SecurityRealm.java:494) at jenkins.security.ImpersonatingUserDetailsService.loadUserByUsername(ImpersonatingUserDetailsService.java:32) at hudson.model.User.impersonate(User.java:309) at org.jenkinsci.main.modules.cli.auth.ssh.SshCliAuthenticator.authenticate(SshCliAuthenticator.java:44) at hudson.cli.CliManagerImpl$2.run(CliManagerImpl.java:109) ... ---- I set the slave agent port to a fixed value, but that does not change this behaviour. The user does exist in the Crowd directory and login worksfrom the Jenkins UI. I am currently testing this with Jenkins 1.619, but I tried different versions with the same result. Any idea what I might be missing? TIA, Robert -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f5831686-714d-4fe5-9ef9-53a2755587d1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.