Skip to content
Permalink
Browse files
[JENKINS-44014] - Also set the default priority for non-Job ownerTasks
  • Loading branch information
oleg-nenashev committed Jun 17, 2017
1 parent a564afc commit ed9db551ddba80ccb3ec26e39b29f808f9fc16c8
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/main/java/jenkins/advancedqueue/PriorityConfigurationPlaceholderTaskHelper.java
@@ -36,6 +36,7 @@ PriorityConfigurationCallback getPriority(@Nonnull ExecutorStepExecution.Placeho
"Custom priority will not be set",
new Object[] {task, ownerTask, ownerTask != null ? ownerTask.getClass() : "null"});
}
priorityCallback.setPrioritySelection(PrioritySorterConfiguration.get().getStrategy().getDefaultPriority());
}
return priorityCallback;
}

0 comments on commit ed9db55

Please sign in to comment.