#3834 jenkins - email only link to build instead of entire build output
Closed: Fixed None Opened 10 years ago by rmeggins.

= bug description =
When the jenkins build fails, using email notification, it will email the entire build output

= bug analysis =
The entire build output is too big

= fix recommendation =
Email only the link to the build output, and keep the full build log on jenkins


The solution is to dump the full build output to a file in the workspace e.g. if you do
{{{
make > build.log 2>&1
}}}
the file will be available at the following url:
{{{
http://jenkins.cloud.fedoraproject.org/job/PROJECT/ws/build.log
}}}
then send an email containing just the script output which contains the full URL of the build.log file.

Login to comment on this ticket.

Metadata