diff --git a/jenkins/gradle/gradle-check-flaky-test-issue-creation.jenkinsfile b/jenkins/gradle/gradle-check-flaky-test-issue-creation.jenkinsfile index 4bf181854b..7d01742d30 100644 --- a/jenkins/gradle/gradle-check-flaky-test-issue-creation.jenkinsfile +++ b/jenkins/gradle/gradle-check-flaky-test-issue-creation.jenkinsfile @@ -7,9 +7,9 @@ * compatible open source license. */ -lib = library(identifier: 'jenkins@6.5.0', retriever: modernSCM([ +lib = library(identifier: 'jenkins@main', retriever: modernSCM([ $class: 'GitSCMSource', - remote: 'https://github.com/opensearch-project/opensearch-build-libraries.git', + remote: 'https://github.com/prudhvigodithi/opensearch-build-libraries.git', ])) @@ -20,15 +20,17 @@ pipeline { buildDiscarder(logRotator(daysToKeepStr: '180')) } triggers { - parameterizedCron ''' - H */8 * * * - ''' + parameterizedCron(''' + H */6 * * * % + ''') } stages { stage('Detect Gradle Check Flaky Tests') { steps { script { - gradleCheckFlakyTestChecker() + gradleCheckFlakyTestDetector( + issueLabels: 'autocut,>test-failure,flaky-test' + ) } } }