juju-solutions / layer-cwr

Layer for building the Juju Jenkins CI env
Other
2 stars 5 forks source link

Juju logs should be imported to jenkins job #76

Closed bbcmicrocomputer closed 7 years ago

bbcmicrocomputer commented 7 years ago

Whether a Jenkins job succeeds or fails, Juju logs (/var/log/juju/*) from the deployment should be imported.

When something fails the deployment is typically destroyed instantly making it extremely difficult to investigate why.

A CI system should always be as verbose as possible in logging and collecting artifacts which instruct the user why a build failed.

johnsca commented 7 years ago

This is handled by juju-crashdump on failure.

kwmonroe commented 7 years ago

And to follow up, the crashdump bits are linked into the jenkins jobs dirs.