Skip to content
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

Merged
merged 4 commits into from
Jun 11, 2019

Conversation

jglick
Copy link
Member

@jglick jglick commented Jun 6, 2019

JENKINS-57893

@Vlatombe

@jglick
Copy link
Member Author

jglick commented Jun 6, 2019

testBadLabel failure is solved in #490.

@Vlatombe
Copy link
Member

Vlatombe commented Jun 7, 2019

Noting upgrade of workflow-cps to 2.70

@jglick
Copy link
Member Author

jglick commented Jun 10, 2019

support freestyle builds

Now I recall why I did not even attempt this originally: there is not so much as a single functional test which demonstrates running a freestyle build against KubernetesCloud. Thus by @batmat’s rule it has to be considered an unsupported use case.

Copy link
Member

@Vlatombe Vlatombe left a 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)
Copy link
Member

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?

Copy link
Member Author

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.

@Vlatombe
Copy link
Member

Vlatombe commented Jun 11, 2019

Some flake (same as #496 I guess)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants