From ab271a4f3ea292fbaa56280a55b81da4f1b58e35 Mon Sep 17 00:00:00 2001 From: Prudhvi Godithi Date: Fri, 14 Jun 2024 11:19:57 -0700 Subject: [PATCH] New label to gradleCheckFlakyTestDetector Signed-off-by: Prudhvi Godithi --- build.gradle | 2 +- ...TestChecker.groovy => gradleCheckFlakyTestDetector.groovy} | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) rename vars/{gradleCheckFlakyTestChecker.groovy => gradleCheckFlakyTestDetector.groovy} (95%) diff --git a/build.gradle b/build.gradle index 8613d4a2..b5404de2 100644 --- a/build.gradle +++ b/build.gradle @@ -127,7 +127,7 @@ jacocoTestReport { } } -String version = '6.5.0' +String version = '6.5.1' task updateVersion { doLast { diff --git a/vars/gradleCheckFlakyTestChecker.groovy b/vars/gradleCheckFlakyTestDetector.groovy similarity index 95% rename from vars/gradleCheckFlakyTestChecker.groovy rename to vars/gradleCheckFlakyTestDetector.groovy index 68a3f68d..842c5573 100644 --- a/vars/gradleCheckFlakyTestChecker.groovy +++ b/vars/gradleCheckFlakyTestDetector.groovy @@ -7,6 +7,8 @@ * compatible open source license. */ +/** Library to detect Gradle Check flaky tests and create GitHub issue in OpenSearch repository.*/ + import gradlecheck.FetchPostMergeFailedTestClass import gradlecheck.FetchPostMergeTestGitReference import gradlecheck.FetchPostMergeFailedTestName @@ -49,7 +51,7 @@ void call(Map args = [:]) { repoUrl: "https://github.com/opensearch-project/OpenSearch", issueTitle: "[AUTOCUT] Gradle Check Flaky Test Report for ${failedTest}", issueBodyFile: "${failedTest}.md", - label: 'autocut,>test-failure', + label: 'autocut,>test-failure,flaky-test', issueEdit: true ) }