Issue
I'm getting my feet wet with Jenkins and I've done something bad. Originally, I had a Bitbucket hook that triggered builds. When I had that in place, I could run builds on demand using the Build now link in the sidebar or in the view table. I decided to run job builds nightly instead and now I can't run them on demand. Clicking either Build now link just flashes a tooltip that says "Build scheduled".
I'm not sure what I did, but there are a couple of possibilities:
- I removed the Bitbucket hook and selected the Build periodically option with a value of
H H(2-10) * * *
. - I enabled Bitbucket OAuth security and set privileges to Logged-in users can do anything.
I've tried reversing both of these, but that hasn't worked. I've also bounced the jenkins
service (many, many times). I may have changed something else relevant, but I don't know what that might've been.
Has anyone else seen something like this?
Solution
Thanks to @Gluttton, I figured out that the problem was that I had enabled CSRF protection in the global security options. Turned that off and everything behaves as expected. Argh.
Answered By - Rob Wilkerson
Answer Checked By - David Goodson (JavaFixing Volunteer)