Docker containers getting crashed when jenkins job is aborted Docker containers getting crashed when jenkins job is aborted jenkins jenkins

Docker containers getting crashed when jenkins job is aborted


This information are not sufficient to tell anything specific. Can you please publish logs here(you can get containers log in you hosting machine)?But, I guess - your jenkins job, at certain time, required more memory than the container has.


It’s Docker container’s feature: exited when the main process in it finished/aborted/crashed...

In your case, you should check messages by docker logs container-id/container-name. After that, you may get the status of your jenkins jobs: normal finished or error exited. Of course, some detail error message would be shown if it did exit with error.

So, now you would know what you should do: figuring out what leads this error in your job(error exited status) or leaving it(based on normal finished status).