Package dev.galasa.githubissue
Annotation Interface GitHubIssue
This annotation will cause the Manager to influence the "failed" result of the test based on
whether a GitHub issue is open or closed.
-
Required Element Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionThe CPS id of the GitHub instance, be it public GitHub or an enterprise instanceString[]
One or more REGEX strings to check in the failing exception, if any of them match, then this annotation is valid and therefore GitHub will be checked.The repository to look for the issue, if not provided, will use the default from the CPS
-
Element Details
-
issue
String issueThe issue to check against
-
-
-
repository
String repositoryThe repository to look for the issue, if not provided, will use the default from the CPS- Default:
- ""
-
githubId
String githubIdThe CPS id of the GitHub instance, be it public GitHub or an enterprise instance- Default:
- "DEFAULT"
-
regex
String[] regexOne or more REGEX strings to check in the failing exception, if any of them match, then this annotation is valid and therefore GitHub will be checked. If no REGEX is provided, any failure is valid.- Default:
- {}
-