-
Notifications
You must be signed in to change notification settings - Fork 113
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
Doony "build now" button misbehaving (wrong permission?) #73
Comments
It's possible. Can you check for errors in your console and paste any Kevin Burke On Wed, Jul 23, 2014 at 4:21 PM, Jake Andersen [email protected]
|
Here is what pops up when I click "Build Now" Jul 23, 2014 10:57:38 PM hudson.security.csrf.CrumbFilter doFilter Now, the "No valid crumb ..." message was resolved (or so I thought) when I changed the Jenkins crumb from .crumb to JCrumb. I had to do this because NGINX sees the default .crumb as an error as ignores it. I'm not sure why it would think it was invalid now, as this is the only part of Jenkins now seeing this as invalid. |
Gah, it's possible the server is now checking CSRF. Can you provide some more details? I assume you need to be logged in to do builds on your machine? |
can you check whether it still fails in the same way without the strategy plugin? i think it might have to do with logged-in users. |
Sure, one sec. |
I set it to "Anyone can do anything" and the problem persisted. Yes, to do builds you need to be logged in on my machine. |
This is now happening for me as well.
|
Ah - and we have found the issue. It's because the job has parameters. And by hitting Build Now, none are passed. You should make it smart enough to see if there are parameters and have that link go to the "Build With Parameters" page if there are any (or let me pick, or something). |
As seen here: https://www.dropbox.com/s/wdo1b8zb6n2y02r/jenkins-doony-no_build_permission.PNG
This occurs while using the Role-based Strategy Plugin (I use this to manage permissions on my Jenkins instance.)
It suggests that I might need the build permission, but I have that permission already as seen here: https://www.dropbox.com/s/h81pjgc40g38h6q/jenkins-doony-build_permission_present.PNG
I'm not completely sure if this is a doony problem, but it makes sense since doony is the one adding the extra "build now" buttons.
Thanks!
The text was updated successfully, but these errors were encountered: