File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
test-report/src/main/java/io/opentelemetry/instrumentation/testreport Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -294,16 +294,18 @@ jobs:
294294 uses : Tiryoh/gha-jobid-action@be260d8673c9211a84cdcf37794ebd654ba81eef # v1.4.0
295295 id : jobs
296296 with :
297- job_name : " test${{ matrix.test-partition }} (${{ matrix.test-java-version }}, ${{ matrix.vm }})"
298- per_page : 50 # input matrix size here if it is larger than 30
297+ job_name : " common / test${{ matrix.test-partition }} (${{ matrix.test-java-version }}, ${{ matrix.vm }})"
298+ per_page : 100 # input matrix size here if it is larger than 30
299299
300300 - name : Flaky test report
301301 if : ${{ !cancelled() }}
302302 env :
303303 FLAKY_TEST_REPORTER_ACCESS_KEY : ${{ secrets.FLAKY_TEST_REPORTER_ACCESS_KEY }}
304304 JOB_URL : ${{ steps.jobs.outputs.html_url }}
305305 run : |
306- BUILD_SCAN_URL=$(cat build-scan.txt)
306+ if [ -s build-scan.txt ]; then
307+ export BUILD_SCAN_URL=$(cat build-scan.txt)
308+ fi
307309 ./gradlew :test-report:reportFlakyTests
308310
309311 - name : Upload deadlock detector artifacts if any
Original file line number Diff line number Diff line change @@ -277,8 +277,8 @@ public static void main(String... args) throws Exception {
277277 String jobUrl = System .getProperty ("jobUrl" );
278278 System .err .println ("buildScanUrl " + buildScanUrl );
279279 System .err .println ("jobUrl " + jobUrl );
280- System .err .println ("secret set " + (accessKey != null ));
281- if (accessKey != null ) {
280+ System .err .println ("secret length " + (accessKey != null ? accessKey . length () : - 1 ));
281+ if (accessKey != null && ! accessKey . isEmpty () ) {
282282 reporter .report (accessKey , buildScanUrl , jobUrl );
283283 }
284284 }
You can’t perform that action at this time.
0 commit comments