Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[JENKINS-21119] Extend loggning to show assigned priority
Also log the name of the parent MatrixProject for a 
found MatrixConfiguration.
  • Loading branch information
emsa23 committed Jan 1, 2014
1 parent 130e0c2 commit 376d18e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -184,8 +184,8 @@ public PriorityConfigurationCallback getPriority(Queue.Item item, PriorityConfig
// [JENKINS-8597]
// For MatrixConfiguration use the latest assigned Priority from the MatrixProject
if (job instanceof MatrixConfiguration) {
priorityCallback.addDecisionLog("Job is MatrixConfiguration ...");
MatrixProject matrixProject = ((MatrixConfiguration) job).getParent();
priorityCallback.addDecisionLog("Job is MatrixConfiguration [" + matrixProject.getName() + "] ...");
ItemInfo itemInfo = QueueItemCache.get().getItem(matrixProject.getName());
// Can be null (for example) at startup when the MatrixBuild got lost (was running at
// restart)
Expand Down

0 comments on commit 376d18e

Please sign in to comment.