-
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-46085 containerLog step to get the logs of a container running in the slave pod #195
JENKINS-46085 containerLog step to get the logs of a container running in the slave pod #195
Conversation
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.
can you add license headers to the new files to indicate that you are licensing it under Apache or MIT?
Thanks
@@ -321,6 +321,18 @@ public void declarative() throws Exception { | |||
r.assertLogContains("Apache Maven 3.3.9", b); | |||
} | |||
|
|||
@Issue("JENKINS-46085") |
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.
can we have this test in a new file ContainerLogStepTest.java, this one is getting too big
947c1b9
to
414cd73
Compare
@carlossg: implemented the missing parameters, added license headers, extracted the test, fixed the build, and rebased master. |
containerLog
step to get the logs of a container running in the slave pod
I'm getting a test error with minikube
|
414cd73
to
43cb9e4
Compare
Right, I made a mistake when rebasing master (too tired, probably). Please try again. |
thanks! |
One thing that is missing is adding some docs to the readme, if you can add a new PR |
Please don't merge yet, as I will add the missing parameters that the API supports
(
withTerminatedStatus sinceSeconds sinceTimestamp withTailingLines limitBytes
).I just wanted to get early feedback, especially on the way I extracted the common code from
ContainerStepExecution
.