Successful build #{{ .CIVars.Build.Number }} | {{ else }}Failed build #{{ .CIVars.Build.Number }} | {{ end }}||||||||||
|
Date: {{ .TimeNowFormat "Mon, 02 Jan 2006 15:04:05" }} From: {{ .SMTPSettings.FromName }} <{{ .SMTPSettings.FromAddress }}> To: {{ .Recipient }} Subject: [{{ .CIVars.Build.Status }}] {{ .CIVars.Repo.Name }} ({{ .CIVars.Commit.Branch }} - {{ .CIVars.Commit.Sha }}) Content-Type: multipart/alternative; boundary=3399d59dca7fb53c0236f440e2a402d670fc0abe57faa6f0233e85338b03 --3399d59dca7fb53c0236f440e2a402d670fc0abe57faa6f0233e85338b03 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 {{- if .CIVars.Build.IsStatus "success" -}} Success build #{{ .CIVars.Build.Number }} {{- else -}} Failed build #{{ .CIVars.Build.Number }} {{- end }} Name: {{ .CIVars.Repo.Name }} Author: {{ .CIVars.Commit.Author.Name }} <{{ .CIVars.Commit.Author.Email }}> Branch: {{ .CIVars.Repo.Branch }} Commit: {{ .CIVars.Commit.Sha }} Started At: {{ .CIVars.Build.StartedToTimeFormat "2006-02-01 15:04:05" }} Link: {{ .CIVars.Build.Link }} --3399d59dca7fb53c0236f440e2a402d670fc0abe57faa6f0233e85338b03 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8
|