How to get build logs

amit.m.srivastava's Avatar

amit.m.srivastava

03 Apr, 2020 07:04 AM

HI,

During build process, we create build log files. How can we send these build log files in build status email as attachments using 'Notifications' once the build is completed. It would be useful for us in diagnosing the build failures.

Thanks
Amit

  1. Support Staff 1 Posted by Feodor Fitsner on 03 Apr, 2020 05:24 PM

    Feodor Fitsner's Avatar

    Hi Amit,

    You cannot attach build logs to the email notification (though we have plans to support that in future releases), but it's not an issue in most cases as notification contains a link to the build details.

  2. 2 Posted by amit.m.srivasta... on 04 Apr, 2020 04:45 AM

    amit.m.srivastava's Avatar

    Our build script sends the logs to a file, not to the console. If the build passes, we can collect it as a artifact but when the build fails, artifact is not generated and we want to collect the generated log file.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac