Skip to content

Commit

Permalink
Merge pull request #664 from Vlatombe/JENKINS-58789
Browse files Browse the repository at this point in the history
[JENKINS-58789] Properly merge TaskListenerDecorator
  • Loading branch information
Vlatombe authored Dec 17, 2019
2 parents 33b9ee2 + fe96940 commit ccdc295
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ protected TaskListenerDecorator get(DelegatedContext context) throws IOException
Set<String> values = secrets.get(c);
if (values != null) {
LOGGER.log(Level.FINE, "Using cached secrets for {0}", c);
return new SecretsMasker(values);
return TaskListenerDecorator.merge(context.get(TaskListenerDecorator.class), new SecretsMasker(values));
} else {
LOGGER.log(Level.FINE, "Cached absence of secrets for {0}", c);
return null;
Expand Down

0 comments on commit ccdc295

Please sign in to comment.