Skip to content

Commit 540d9fd

Browse files
committed
Add instructions to disable PTS in interactive text
1 parent 7f582dd commit 540d9fd

File tree

4 files changed

+20
-0
lines changed

4 files changed

+20
-0
lines changed

components/scripts/gradle/04-validate-remote-build-caching-ci-ci.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,11 @@ Make sure the CI configuration uses the proper branch and performs a fresh
192192
checkout to avoid any build artifacts lingering around from a previous build
193193
that could influence the experiment.
194194
195+
Also, make sure the CI configuration builds the project with Predictive Test
196+
Selection (PTS) disabled, as test results will not be stored in the build cache
197+
when only a subset of tests are selected for execution. PTS can be globally
198+
disabled using the '-Dpts.enabled=false' system property.
199+
195200
Once the build completes, make a note of the commit id that was used, and enter
196201
the URL of the build scan produced by the build.
197202
EOF

components/scripts/gradle/05-validate-remote-build-caching-ci-local.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,11 @@ Make sure the CI configuration uses the proper branch and performs a fresh
284284
checkout to avoid any build artifacts lingering around from a previous build
285285
that could influence the experiment.
286286
287+
Also, make sure the CI configuration builds the project with Predictive Test
288+
Selection (PTS) disabled, as test results will not be stored in the build cache
289+
when only a subset of tests are selected for execution. PTS can be globally
290+
disabled using the '-Dpts.enabled=false' system property.
291+
287292
Once the build completes, make a note of the commit id that was used, and enter
288293
the URL of the build scan produced by the build.
289294
EOF

components/scripts/maven/03-validate-remote-build-caching-ci-ci.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,11 @@ Make sure the CI configuration uses the proper branch and performs a fresh
190190
checkout to avoid any build artifacts lingering around from a previous build
191191
that could influence the experiment.
192192
193+
Also, make sure the CI configuration builds the project with Predictive Test
194+
Selection (PTS) disabled, as test results will not be stored in the build cache
195+
when only a subset of tests are selected for execution. PTS can be globally
196+
disabled using the '-Dpts.enabled=false' system property.
197+
193198
Once the build completes, make a note of the commit id that was used, and enter
194199
the URL of the build scan produced by the build.
195200
EOF

components/scripts/maven/04-validate-remote-build-caching-ci-local.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,11 @@ Make sure the CI configuration uses the proper branch and performs a fresh
284284
checkout to avoid any build artifacts lingering around from a previous build
285285
that could influence the experiment.
286286
287+
Also, make sure the CI configuration builds the project with Predictive Test
288+
Selection (PTS) disabled, as test results will not be stored in the build cache
289+
when only a subset of tests are selected for execution. PTS can be globally
290+
disabled using the '-Dpts.enabled=false' system property.
291+
287292
Once the build completes, make a note of the commit id that was used, and enter
288293
the URL of the build scan produced by the build.
289294
EOF

0 commit comments

Comments
 (0)