Skip to content
Permalink
Browse files

Merge pull request #68 from ikedam/feature/JENKINS-22856_AncestorForD…

…oCheckProjects

[JENKINS-22856] Uses AbstractProject instead of Item in Descriptor.doCheckProjects
  • Loading branch information...
ikedam committed May 31, 2014
2 parents 2109f29 + 44f814f commit ea8b3dfda8346437b04a12da1ac1e5d658a367d4
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/hudson/plugins/parameterizedtrigger/BuildTriggerConfig.java
@@ -530,7 +530,7 @@ public String getDisplayName() {
*
* Copied from hudson.tasks.BuildTrigger.doCheck(Item project, String value)
*/
public FormValidation doCheckProjects(@AncestorInPath Item project, @QueryParameter String value ) {
public FormValidation doCheckProjects(@AncestorInPath AbstractProject<?,?> project, @QueryParameter String value ) {
// Require CONFIGURE permission on this project
if(!project.hasPermission(Item.CONFIGURE)){
return FormValidation.ok();

0 comments on commit ea8b3df

Please sign in to comment.
You can’t perform that action at this time.