Skip to content

Commit 13a6522

Browse files
committed
Fast incremental build
1 parent 3c115e7 commit 13a6522

File tree

2 files changed

+3
-36
lines changed

2 files changed

+3
-36
lines changed

Jenkinsfile

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ properties([
1313
])
1414

1515
def axes = [
16-
platforms: ['linux', 'windows'],
16+
platforms: ['linux'],
1717
jdks: [21, 25],
1818
]
1919

@@ -216,41 +216,6 @@ 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-
}
253-
254219
builds.failFast = failFast
255220
parallel builds
256221
infra.maybePublishIncrementals()

test/pom.xml

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

5353
<!-- Filled in by maven-hpi-plugin with "-javaagent:/path/to/mockito-core-<version>.jar" -->
5454
<jenkins.javaAgent />
55+
56+
<test>hudson.AboutJenkinsTest</test>
5557
</properties>
5658

5759
<dependencyManagement>

0 commit comments

Comments
 (0)