Skip to content

Commit

Permalink
[JENKINS-38887] Validation should only care that the job is a Queue.Task
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenc committed Mar 9, 2017
1 parent 9ad33a6 commit 4512e19
Showing 1 changed file with 0 additions and 3 deletions.
Expand Up @@ -224,9 +224,6 @@ public FormValidation doCheckJob(@AncestorInPath ItemGroup<?> context, @QueryPar
if (item == null) {
return FormValidation.error(Messages.BuildTriggerStep_cannot_find(value));
}
if (item instanceof Job) {
return FormValidation.ok();
}
if (item instanceof Queue.Task) {
return FormValidation.ok();
}
Expand Down

0 comments on commit 4512e19

Please sign in to comment.