TINY-11840: Alert on build fail (#10404)

* TINY-11840: Test alert

* TINY-12234: Correct version testing
This commit is contained in:
jscasca
2025-06-13 11:49:00 +10:00
committed by GitHub
parent 3ceb2c8cbe
commit 22167c2568

14
Jenkinsfile vendored
View File

@ -52,7 +52,8 @@ def runRemoteTests(String name, String browser, String provider, String platform
" --buckets=" + buckets +
" --name=" + name +
"${provider == 'aws' ? awsOpts : ''}" +
"${platformName}"
"${platformName}" +
"${browserVersion}"
runBedrockTest(name, bedrockCommand, runAll, retry, timeout)
}
@ -182,7 +183,12 @@ def cacheName = "cache_${BUILD_TAG}"
def testPrefix = "tinymce_${cleanBuildName(env.BRANCH_NAME)}-build${env.BUILD_NUMBER}"
timestamps {
timestamps { alertWorseResult(
cleanupStep: { devPods.cleanUpPod(build: cacheName) },
branches: ['main', 'release/7', 'release/8'],
channel: '#tinymce-build-status',
name: 'TinyMCE'
) {
devPods.nodeProducer(
nodeOpts: [
resourceRequestCpu: '2',
@ -291,6 +297,4 @@ timestamps {
echo "Running tests [runAll=${runAllTests}]"
parallel processes
}
devPods.cleanUpPod(name: cacheName)
}
}}