Commit 916486e
committed
Add isBuildable to BuildableItem interface
When disabling a Multibranch project the branch/PR jobs still show the
build button in the sidepanel and in the folder view the Build button
column allows to start a build.
By adding the isBuildable to the BuildableItem interface we can now
detect in Jobs if the parent is disabled. This will then hide the build
button in the sidepanel and the column in the view.
fixes jenkinsci#166781 parent 1ce1de6 commit 916486e
File tree
2 files changed
+17
-1
lines changed- core/src/main/java
- hudson/model
- jenkins/model
2 files changed
+17
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
60 | 64 | | |
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
562 | 563 | | |
563 | 564 | | |
564 | 565 | | |
| 566 | + | |
565 | 567 | | |
566 | | - | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
567 | 579 | | |
568 | 580 | | |
569 | 581 | | |
| |||
0 commit comments