Successful build #{{ build.number }} | {{else}}Failed build #{{ build.number }} | {{/success}}||||||||||
|
package main const ( // DefaultPort is the default SMTP port to use DefaultPort = 587 // DefaultOnlyRecipients controls wether to exclude the commit author by default DefaultOnlyRecipients = false // DefaultSkipVerify controls wether to skip SSL verification for the SMTP server DefaultSkipVerify = false // DefaultClientHostname is the client hostname used in the HELO command sent to the SMTP server DefaultClientHostname = "localhost" ) // DefaultSubject is the default subject template to use for the email const DefaultSubject = ` [{{ build.status }}] {{ repo.owner }}/{{ repo.name }} ({{ commit.branch }} - {{ truncate commit.sha 8 }}) ` // DefaultTemplate is the default body template to use for the email const DefaultTemplate = `
|