Fix: Kubernetes computer container logs#1711
Open
adpg24 wants to merge 1 commit intojenkinsci:masterfrom
Open
Conversation
Member
Since this regressed, now is probably a good time to introduce such tests! |
7451f8a to
cee76b3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On release 4350.va_0283de0d6d6 the following PR was included #1699.
The container logs were still not visible through the UI so I logged the following issue: https://issues.jenkins.io/browse/JENKINS-75787
Testing done
There were no existing unit tests, so I didn't bother creating new tests. I tested the plugin by running a minikube setup locally, must of the setup comes from the README.
This is the Jenkinsfile used for testing:
Once a pod has been created I can follow the link in the console logs of the job:
The container logs can now be viewed from the UI. The screenshot below shows the JNLP container logs.

Submitter checklist