|
11 | 11 | # /logs <- Where results of tests and lots are collated |
12 | 12 | # |
13 | 13 | # As of May 2020 this takes ~ 70 mins to run. |
| 14 | +# As of Nov 2020 this takes ~ 120 mins to run. |
14 | 15 | # |
15 | 16 | # The only things that should ever be changed are the repo branches in the resources. |
16 | 17 | # |
@@ -54,16 +55,22 @@ resources: |
54 | 55 | ######################################################################################### |
55 | 56 | # When and under what condition to run the pipeline. |
56 | 57 | schedules: |
57 | | - - cron: "32 1 * * *" |
58 | | - displayName: Nightly build |
| 58 | + - cron: "0 0 * * 0" |
| 59 | + displayName: Weekly build - master |
59 | 60 | branches: |
60 | 61 | include: |
61 | 62 | - master |
62 | 63 | always: true |
| 64 | + - cron: "0 2 * * 0" |
| 65 | + displayName: Nightly build - v6.2-dev |
| 66 | + branches: |
| 67 | + include: |
| 68 | + - v6.2-dev |
| 69 | + always: true |
63 | 70 |
|
64 | 71 | jobs: |
65 | 72 | - job: build_and_run_tests |
66 | | - timeoutInMinutes: 120 |
| 73 | + timeoutInMinutes: 150 |
67 | 74 | pool: |
68 | 75 | vmImage: 'Ubuntu 16.04' |
69 | 76 |
|
@@ -273,7 +280,7 @@ jobs: |
273 | 280 | # display the test console output |
274 | 281 | cat test_console_output_dsbase.txt |
275 | 282 |
|
276 | | - grep --quiet "Failed: 0" test_console_output_dsbase.txt |
| 283 | + grep --quiet " FAIL 0 " test_console_output_dsbase.txt |
277 | 284 |
|
278 | 285 | workingDirectory: $(Pipeline.Workspace)/dsBaseClient |
279 | 286 | displayName: 'Code coverage and JUnit report output, with dsBase' |
@@ -376,7 +383,7 @@ jobs: |
376 | 383 | mv coveragelist.csv $(Pipeline.Workspace)/logs |
377 | 384 | mv test_results.xml $(Pipeline.Workspace)/logs |
378 | 385 |
|
379 | | - grep --quiet "Failed: 0" test_console_output_dsdanger.txt |
| 386 | + grep --quiet " FAIL 0 " test_console_output_dsdanger.txt |
380 | 387 |
|
381 | 388 | workingDirectory: $(Pipeline.Workspace)/dsBaseClient |
382 | 389 | displayName: 'Code coverage and JUnit report output, with dsBase and dsDanger' |
@@ -423,7 +430,11 @@ jobs: |
423 | 430 |
|
424 | 431 | cat test_console_output_bug.txt |
425 | 432 |
|
426 | | - mv test_results_bug.xml $(Pipeline.Workspace)/logs |
| 433 | + if [ -e test_results_bug.xml ]; then |
| 434 | + mv test_results_bug.xml $(Pipeline.Workspace)/logs |
| 435 | + else |
| 436 | + touch $(Pipeline.Workspace)/logs/test_results_bug.xml |
| 437 | + fi |
427 | 438 |
|
428 | 439 | workingDirectory: $(Pipeline.Workspace)/dsBaseClient |
429 | 440 | displayName: 'Bug report output' |
|
0 commit comments