Reputation:
I am new user to jenkins. My jenkins version is 1.594. When we got the confirmation from jenkins team about onboarding the jenkin job, i did not find the build now option for the job.
Upvotes: 15
Views: 19814
Reputation: 1
I have just disabled my job and than enabled it. I am able to take build on this job.
Upvotes: 0
Reputation: 1934
In my case, I had accidentally hit the red X on Behaviors (under Branch Sources with a multi-branch pipeline). The default behavior "Discover branches" should be there. You can put it back by choosing the Add option below.
Upvotes: 0
Reputation: 1
Another reason why "build now" might not appear is if your Jenkins couldn't find your Jenkinsfile. Scan your project and check the log.
If you find a line that says 'Jenkinsfile' not found
, then that's your problem. Check the git repo and make sure the file is there and make sure there isn't a typo in the name.
Upvotes: 0
Reputation: 5611
I just bumped into the same problem, but none of the mentioned solutions worked. I had created a new job using the Copy from functionality. I was then sent to the job configuration page. I left this page without pressing Save or Apply, and the Build now link did not appear. I then went back to the configuration page, pressed Save, and the Build with parameters link became visible.
Upvotes: 44
Reputation: 1
You can choose "This build is parameterized" in configure and add a dummy Boolean parameter, check default value. Then you will get a build button
Upvotes: 0
Reputation: 61
Add one more possible answer:
Under some circumstances, you may automatically logout and stay at the same page(no button available), try login again fixed my problem...
Upvotes: 6
Reputation: 1389
Build now option does not come in either of the below reasons:
Upvotes: 7