-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[JENKINS-57893] Mask Kubernetes secrets bound to containers in build log #494
[JENKINS-57893] Mask Kubernetes secrets bound to containers in build log #494
Conversation
|
Noting upgrade of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some leftover System.err
?
ByteArrayOutputStream baos = new ByteArrayOutputStream(); | ||
Semaphore semaphore = new Semaphore(0); | ||
try (ExecWatch exec = slave.getKubernetesCloud().connect().pods().inNamespace(slave.getNamespace()).withName(slave.getPodName()).inContainer(containerName) | ||
.writingOutput(baos).writingError(System.err).writingErrorChannel(System.err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
System.err
leftover from early attempts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a leftover, but could be improved.
Some flake (same as #496 I guess) |
JENKINS-57893
ConsoleLogFilter
could be used for this purpose@Vlatombe