Skip to content
Permalink
Browse files
[JENKINS-38887] Validation should only care that the job is a Queue.Task
  • Loading branch information
stephenc committed Mar 9, 2017
1 parent 9ad33a6 commit 4512e19480a513959c621b2ff3b0d180c8f484a5
Showing with 0 additions and 3 deletions.
  1. +0 −3 src/main/java/org/jenkinsci/plugins/workflow/support/steps/build/BuildTriggerStep.java
@@ -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();
}

0 comments on commit 4512e19

Please sign in to comment.