Skip to content

Commit 3da6d19

Browse files
committed
Restore Jenkinsfile/test pom
1 parent 94597be commit 3da6d19

File tree

2 files changed

+34
-36
lines changed

2 files changed

+34
-36
lines changed

Jenkinsfile

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -216,40 +216,40 @@ axes.values().combinations {
216216
}
217217
}
218218

219-
// def athAxes = [
220-
// platforms: ['linux'],
221-
// jdks: [21],
222-
// browsers: ['firefox'],
223-
// ]
224-
// athAxes.values().combinations {
225-
// def (platform, jdk, browser) = it
226-
// builds["ath-${platform}-jdk${jdk}-${browser}"] = {
227-
// retry(conditions: [agent(), nonresumable()], count: 2) {
228-
// node('docker-highmem') {
229-
// // Just to be safe
230-
// deleteDir()
231-
// checkout scm
232-
//
233-
// withChecks(name: 'Tests', includeStage: true) {
234-
// infra.withArtifactCachingProxy {
235-
// sh "bash ath.sh ${jdk} ${browser}"
236-
// }
237-
// junit testResults: 'target/ath-reports/TEST-*.xml', testDataPublishers: [[$class: 'AttachmentPublisher']]
238-
// }
239-
// /*
240-
// * Currently disabled, as the fact that this is a manually created subset will confuse Launchable,
241-
// * which expects this to be a full build. When we implement subsetting, this can be re-enabled using
242-
// * Launchable's subset rather than our own.
243-
// */
244-
// /*
245-
// withCredentials([string(credentialsId: 'launchable-jenkins-acceptance-test-harness', variable: 'LAUNCHABLE_TOKEN')]) {
246-
// sh "launchable verify && launchable record tests --no-build --flavor platform=${platform} --flavor jdk=${jdk} --flavor browser=${browser} maven './target/ath-reports'"
247-
// }
248-
// */
249-
// }
250-
// }
251-
// }
252-
// }
219+
def athAxes = [
220+
platforms: ['linux'],
221+
jdks: [21],
222+
browsers: ['firefox'],
223+
]
224+
athAxes.values().combinations {
225+
def (platform, jdk, browser) = it
226+
builds["ath-${platform}-jdk${jdk}-${browser}"] = {
227+
retry(conditions: [agent(), nonresumable()], count: 2) {
228+
node('docker-highmem') {
229+
// Just to be safe
230+
deleteDir()
231+
checkout scm
232+
233+
withChecks(name: 'Tests', includeStage: true) {
234+
infra.withArtifactCachingProxy {
235+
sh "bash ath.sh ${jdk} ${browser}"
236+
}
237+
junit testResults: 'target/ath-reports/TEST-*.xml', testDataPublishers: [[$class: 'AttachmentPublisher']]
238+
}
239+
/*
240+
* Currently disabled, as the fact that this is a manually created subset will confuse Launchable,
241+
* which expects this to be a full build. When we implement subsetting, this can be re-enabled using
242+
* Launchable's subset rather than our own.
243+
*/
244+
/*
245+
withCredentials([string(credentialsId: 'launchable-jenkins-acceptance-test-harness', variable: 'LAUNCHABLE_TOKEN')]) {
246+
sh "launchable verify && launchable record tests --no-build --flavor platform=${platform} --flavor jdk=${jdk} --flavor browser=${browser} maven './target/ath-reports'"
247+
}
248+
*/
249+
}
250+
}
251+
}
252+
}
253253

254254
builds.failFast = failFast
255255
parallel builds

test/pom.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ THE SOFTWARE.
5252

5353
<!-- Filled in by maven-hpi-plugin with "-javaagent:/path/to/mockito-core-<version>.jar" -->
5454
<jenkins.javaAgent />
55-
<!-- TODO - remove the below-->
56-
<test>hudson.AboutJenkinsTest</test>
5755
</properties>
5856

5957
<dependencyManagement>

0 commit comments

Comments
 (0)