Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
tasks show display names
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanmacfarlane committed Mar 29, 2016
1 parent 61e1487 commit 9d3b2c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/agent/job.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ export class JobRunner {
});

if (item.enabled) {
taskContext.setTaskStarted(item.name);
taskContext.setTaskStarted(item.displayName);

_this.runTask(item, taskContext, (err) => {
var taskResult: agentifm.TaskResult = taskContext.result;
Expand All @@ -279,7 +279,7 @@ export class JobRunner {
}

trace.write('taskResult: ' + taskResult);
taskContext.setTaskResult(item.name, taskResult);
taskContext.setTaskResult(item.displayName, taskResult);

taskContext.end();
done(err);
Expand All @@ -289,7 +289,7 @@ export class JobRunner {
var err = '';
var taskResult: agentifm.TaskResult = agentifm.TaskResult.Skipped;
trace.write('taskResult: ' + taskResult);
taskContext.setTaskResult(item.name, taskResult);
taskContext.setTaskResult(item.displayName, taskResult);
done(err);
}
}, function (err) {
Expand Down

0 comments on commit 9d3b2c6

Please sign in to comment.