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

[CI] add an step to grab the Docker container logs #806

Closed
kuisathaverat opened this issue May 29, 2020 · 0 comments · Fixed by #810
Closed

[CI] add an step to grab the Docker container logs #806

kuisathaverat opened this issue May 29, 2020 · 0 comments · Fixed by #810
Assignees

Comments

@kuisathaverat
Copy link
Contributor

kuisathaverat commented May 29, 2020

Sometimes the build fails starting the Docker containers it needs to run the tests but you do not have the real error in the Jenkins logs, you need the Docker container logs. To grab those logs after starting the containers or in case of error, it is something we make on ITs and APM Server. So it is time to implement something common to all jobs that cover these two use cases.


  • Given a docker/docker-compose provisioned Docker containers
  • When all the Docker containers are started
  • Then show the last log lines of each container
  • And show the status of the Docker containers

  • Given a docker/docker-compose provisioned Docker containers
  • When tests failed
  • Then show the last log lines of each container
  • And show the status of the Docker containers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants