Documentation ¶
Index ¶
- func FileJiraIssuesForFailedTests(ctx context.Context, report *ginkgoTypes.Report, runID int64, info *JiraInfo) error
- func FindExistingIssue(openIssues []jira.Issue, testReport *ginkgoTypes.SpecReport) *jira.Issue
- func GetOpenE2EJiraIssue(ctx context.Context, info *JiraInfo) ([]jira.Issue, error)
- func VerifyInfo(ctx context.Context, info *JiraInfo) error
- type JiraInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileJiraIssuesForFailedTests ¶
func FileJiraIssuesForFailedTests(ctx context.Context, report *ginkgoTypes.Report, runID int64, info *JiraInfo) error
FileJiraIssuesForFailedTests files an issue, if needed, for a failed test. If filed, an issue is added to active sprint. Before filing a new issue, this method search if one already exists. If so, it simply adds a comment with run id. - report is the list of tests - runID is current run id
func FindExistingIssue ¶
func FindExistingIssue(openIssues []jira.Issue, testReport *ginkgoTypes.SpecReport) *jira.Issue
FindExistingIssue finds if an already existing issue exists.
func GetOpenE2EJiraIssue ¶
GetOpenE2EJiraIssue returns issues filed by user (in jiraInfo)
Types ¶
type JiraInfo ¶
type JiraInfo struct { BaseURL string // jira base URL Project string // jira Project name Board string // jira Board Name Component string // if not empty, any jira filed issue will have this as component Username string // jira username Password string // jira password DryRun bool // indicates if this is a dryRun }
Click to show internal directories.
Click to hide internal directories.