At least within a block step, it should be possible to set something like a ConsoleLogFilter to decorate the output written to TaskListener. Possible use cases:
- Replacement for decorateLogger in SimpleBuildWrapper.
- Ability to mask passwords from BindingStep in credentials-binding (unless there is an equivalent to getSensitiveBuildVariables moved up to Run).
- is blocking
-
JENKINS-27486 Workflow step to mask console output
-
- Resolved
-
-
JENKINS-27207 Add timestamps to workflow console output
-
- Resolved
-
-
JENKINS-24673 SimpleBuildWrapper
-
- Resolved
-
- is related to
-
JENKINS-30777 ConsoleLogFilter isn't truly global
-
- Open
-
-
JENKINS-26053 Handle ConsoleAnnotator
-
- Open
-
- relates to
-
JENKINS-43814 Password parameters should be hidden in pipeline logs by default
-
- Open
-
- links to
(1 relates to, 3 links to)
Code changed in jenkins
User: Jesse Glick
Path:
aggregator/src/test/java/org/jenkinsci/plugins/workflow/steps/CoreWrapperStepTest.java
http://jenkins-ci.org/commit/workflow-plugin/4ad6605229b6f248fa06c8d9be9bd8bcdb547f80
Log:
JENKINS-27392Prepared test for SimpleBuildWrapper.createLoggerDecorator.