Skip to content

Commit 910cb54

Browse files
Rename the library to gradleCheckFlakyTestDetector and flaky-test label to created issue. (#445)
Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
1 parent 31c876f commit 910cb54

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ jacocoTestReport {
127127
}
128128
}
129129

130-
String version = '6.5.0'
130+
String version = '6.5.1'
131131

132132
task updateVersion {
133133
doLast {

vars/gradleCheckFlakyTestChecker.groovy renamed to vars/gradleCheckFlakyTestDetector.groovy

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
* compatible open source license.
88
*/
99

10+
/** Library to detect Gradle Check flaky tests and create GitHub issue in OpenSearch repository.
11+
@param Map args = [:] args A map of the following parameters
12+
@param args.issueLabels <required> - GitHub labels that will be added to the issue created in OpenSearch repository.
13+
*/
14+
1015
import gradlecheck.FetchPostMergeFailedTestClass
1116
import gradlecheck.FetchPostMergeTestGitReference
1217
import gradlecheck.FetchPostMergeFailedTestName
@@ -49,7 +54,7 @@ void call(Map args = [:]) {
4954
repoUrl: "https://github.com/opensearch-project/OpenSearch",
5055
issueTitle: "[AUTOCUT] Gradle Check Flaky Test Report for ${failedTest}",
5156
issueBodyFile: "${failedTest}.md",
52-
label: 'autocut,>test-failure',
57+
label: args.issueLabels,
5358
issueEdit: true
5459
)
5560
}

0 commit comments

Comments
 (0)