Re: Email notifications attach part of build log in email body

2017-02-01 Thread Slide
You could echo out something that isn't valuable, just a marker at the beginning and end and use those as the start/end parameter. On Wed, Feb 1, 2017 at 2:21 PM siva varma Datla wrote: > Is there any option that I can include that particular part of the build > in the

Re: Email notifications attach part of build log in email body

2017-02-01 Thread siva varma Datla
Is there any option that I can include that particular part of the build in the email body?? On Wednesday, February 1, 2017 at 4:04:15 PM UTC-5, slide wrote: > > That's how BUILD_LOG_EXCERPT works. It will include only what is between > the start and end. > > On Wed, Feb 1, 2017 at 1:50 PM siva

Re: Email notifications attach part of build log in email body

2017-02-01 Thread Slide
That's how BUILD_LOG_EXCERPT works. It will include only what is between the start and end. On Wed, Feb 1, 2017 at 1:50 PM siva varma Datla wrote: > I am running a jenkins build where I need an email notification whenever > the build fails I am using Groovy syntax to run

Email notifications attach part of build log in email body

2017-02-01 Thread siva varma Datla
I am running a jenkins build where I need an email notification whenever the build fails I am using Groovy syntax to run my jenkins build I want an email with the status of the build along with the some part of log in the body of the build. *Please find the syntax below and suggest me if have