Commit 26ab6aa5 authored by John Jarvis's avatar John Jarvis

Actually create the report as an issue.

parent 5921104e
Pipeline #28362632 passed with stage
in 1 minute and 51 seconds
......@@ -55,9 +55,8 @@ func (r *Report) CreateReportIssue(title string) string {
// weeklyOpsGraphs := r.uploadGraphs(graphs)
weeklyOpsGraphs := []WeeklyOpsGraph{}
desc := r.generateTemplate(weeklyOpsGraphs)
// issue := r.Helpers.GitLab.CreateIssue(title, desc, r.Config.Projects.ReportProject.ID)
// return issue.WebURL
return desc
issue := r.Helpers.GitLab.CreateIssue(title, desc, r.Config.Projects.ReportProject.ID)
return issue.WebURL
}
// Generate an issue using a template
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment