mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-12-06 15:48:02 +00:00
Update Jenkinsfile
This commit is contained in:
1 parent
b725f6c53b
commit
3ac4de5de1
1 file changed
+34
-34
Vendored
+34
-34
@@ -212,40 +212,40 @@ axes.values().combinations {
|
||||
}
|
||||
}
|
||||
|
||||
def athAxes = [
|
||||
platforms: ['linux'],
|
||||
jdks: [21],
|
||||
browsers: ['firefox'],
|
||||
]
|
||||
athAxes.values().combinations {
|
||||
def (platform, jdk, browser) = it
|
||||
builds["ath-${platform}-jdk${jdk}-${browser}"] = {
|
||||
retry(conditions: [agent(), nonresumable()], count: 2) {
|
||||
node('docker-highmem') {
|
||||
// Just to be safe
|
||||
deleteDir()
|
||||
checkout scm
|
||||
|
||||
withChecks(name: 'Tests', includeStage: true) {
|
||||
infra.withArtifactCachingProxy {
|
||||
sh "bash ath.sh ${jdk} ${browser}"
|
||||
}
|
||||
junit testResults: 'target/ath-reports/TEST-*.xml', testDataPublishers: [[$class: 'AttachmentPublisher']]
|
||||
}
|
||||
/*
|
||||
* Currently disabled, as the fact that this is a manually created subset will confuse Launchable,
|
||||
* which expects this to be a full build. When we implement subsetting, this can be re-enabled using
|
||||
* Launchable's subset rather than our own.
|
||||
*/
|
||||
/*
|
||||
withCredentials([string(credentialsId: 'launchable-jenkins-acceptance-test-harness', variable: 'LAUNCHABLE_TOKEN')]) {
|
||||
sh "launchable verify && launchable record tests --no-build --flavor platform=${platform} --flavor jdk=${jdk} --flavor browser=${browser} maven './target/ath-reports'"
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// def athAxes = [
|
||||
// platforms: ['linux'],
|
||||
// jdks: [21],
|
||||
// browsers: ['firefox'],
|
||||
// ]
|
||||
// athAxes.values().combinations {
|
||||
// def (platform, jdk, browser) = it
|
||||
// builds["ath-${platform}-jdk${jdk}-${browser}"] = {
|
||||
// retry(conditions: [agent(), nonresumable()], count: 2) {
|
||||
// node('docker-highmem') {
|
||||
// // Just to be safe
|
||||
// deleteDir()
|
||||
// checkout scm
|
||||
//
|
||||
// withChecks(name: 'Tests', includeStage: true) {
|
||||
// infra.withArtifactCachingProxy {
|
||||
// sh "bash ath.sh ${jdk} ${browser}"
|
||||
// }
|
||||
// junit testResults: 'target/ath-reports/TEST-*.xml', testDataPublishers: [[$class: 'AttachmentPublisher']]
|
||||
// }
|
||||
// /*
|
||||
// * Currently disabled, as the fact that this is a manually created subset will confuse Launchable,
|
||||
// * which expects this to be a full build. When we implement subsetting, this can be re-enabled using
|
||||
// * Launchable's subset rather than our own.
|
||||
// */
|
||||
// /*
|
||||
// withCredentials([string(credentialsId: 'launchable-jenkins-acceptance-test-harness', variable: 'LAUNCHABLE_TOKEN')]) {
|
||||
// sh "launchable verify && launchable record tests --no-build --flavor platform=${platform} --flavor jdk=${jdk} --flavor browser=${browser} maven './target/ath-reports'"
|
||||
// }
|
||||
// */
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
builds.failFast = failFast
|
||||
parallel builds
|
||||
|
||||
Reference in new issue
Block a user