Skip to content

Commit 4ed5cc9

Browse files
authored
[JENKINS-72958] expose buildable property to API (#441)
2 parents 5af53dd + 37554fc commit 4ed5cc9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/com/cloudbees/hudson/plugins/folder/computed/ComputedFolder.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
import org.kohsuke.stapler.QueryParameter;
8585
import org.kohsuke.stapler.StaplerRequest;
8686
import org.kohsuke.stapler.StaplerResponse;
87+
import org.kohsuke.stapler.export.Exported;
8788
import org.kohsuke.stapler.interceptor.RequirePOST;
8889

8990
import static javax.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
@@ -528,6 +529,7 @@ public List<Action> getActions() {
528529
*
529530
* @return {@code true} if this folder can currently be recomputed.
530531
*/
532+
@Exported
531533
public boolean isBuildable() {
532534
if (isDisabled()) {
533535
return false;

0 commit comments

Comments
 (0)