|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.samplu.common.JiraAwareFailureUtil
public class JiraAwareFailureUtil
Created as a way to link Rice Smoke Test failures to existing Jiras as a html link in Jenkins. The more failures the more useful it is to not have to keep tracking down the same Jiras. Having this feature for Integration Tests as well would be a huge help for the QA team. TODO:
Field Summary | |
---|---|
static String |
JIRA_BROWSE_URL
https://jira.kuali.org/browse/ |
static String |
KULRICE_8823_FIX_BROKEN_SMOKE_TESTS_IN_CI
KULRICE-8823 Fix broken smoke tests in CI |
Constructor Summary | |
---|---|
JiraAwareFailureUtil()
|
Method Summary | |
---|---|
static void |
failOnMatchedJira(String contents,
Failable failable)
If the contents contents the jiraMatches key, call fail on failable passing in the jiraMatches value for the matched key. |
static void |
failOnMatchedJira(String contents,
String message,
Failable failable)
Calls failOnMatchedJira with the contents and if no match is detected then the message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String KULRICE_8823_FIX_BROKEN_SMOKE_TESTS_IN_CI
public static final String JIRA_BROWSE_URL
Constructor Detail |
---|
public JiraAwareFailureUtil()
Method Detail |
---|
public static void failOnMatchedJira(String contents, Failable failable)
contents
- to check for containing of the jiraMatches keys.failable
- to fail with the jiraMatches value if the jiraMatches key is contained in the contentspublic static void failOnMatchedJira(String contents, String message, Failable failable)
contents
- to check for containing of the jiraMatches keys.message
- to check for containing of the jiraMatches keys if contents doesn'tfailable
- to fail with the jiraMatches value if the contents or message is detected
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |