Leonardo Sandoval | 85fb3bf | 2021-12-17 11:36:43 -0600 | [diff] [blame] | 1 | - job: |
| 2 | concurrent: true |
| 3 | description: Mbed TLS Nightly Tests |
Arthur She | 3900b9f | 2023-06-06 21:31:52 -0700 | [diff] [blame] | 4 | disabled: false |
Leonardo Sandoval | 85fb3bf | 2021-12-17 11:36:43 -0600 | [diff] [blame] | 5 | name: mbed-tls-nightly-tests |
| 6 | parameters: |
| 7 | - string: |
Arthur She | 33fe8c5 | 2022-03-31 17:31:12 -0700 | [diff] [blame] | 8 | default: https://github.com/Mbed-TLS/mbedtls.git |
Leonardo Sandoval | 85fb3bf | 2021-12-17 11:36:43 -0600 | [diff] [blame] | 9 | description: Enter mbed TLS repo/fork |
| 10 | name: MBED_TLS_REPO |
| 11 | trim: 'false' |
| 12 | - string: |
| 13 | default: development |
| 14 | description: Enter branch or commit to test |
| 15 | name: MBED_TLS_BRANCH |
| 16 | trim: 'false' |
| 17 | - bool: |
| 18 | default: true |
| 19 | description: |- |
| 20 | Run basic-build-test.sh |
| 21 | |
| 22 | (Note, this does not work on mbedtls-2.1). |
| 23 | name: RUN_BASIC_BUILD_TEST |
| 24 | - bool: |
| 25 | default: true |
| 26 | description: Run all.sh |
| 27 | name: RUN_ALL_SH |
| 28 | - bool: |
Arthur She | 412e67b | 2022-05-16 14:24:34 -0700 | [diff] [blame] | 29 | default: true |
Arthur She | 3900b9f | 2023-06-06 21:31:52 -0700 | [diff] [blame] | 30 | description: Run a selection of all.sh on FreeBSD |
| 31 | name: RUN_FREEBSD |
| 32 | - bool: |
| 33 | default: true |
Leonardo Sandoval | 85fb3bf | 2021-12-17 11:36:43 -0600 | [diff] [blame] | 34 | description: Run Windows tests |
| 35 | name: RUN_WINDOWS_TEST |
| 36 | - bool: |
| 37 | default: false |
| 38 | description: Import mbed TLS into mbed-os master and test mbed TLS authcrypt |
| 39 | example. |
| 40 | name: TEST_MBED_OS_AUTHCRYPT_EXAMPLE |
| 41 | - bool: |
| 42 | default: false |
| 43 | description: Import mbed TLS into mbed-os master and test mbed TLS benchmark |
| 44 | example. |
| 45 | name: TEST_MBED_OS_BENCHMARK_EXAMPLE |
| 46 | - bool: |
| 47 | default: false |
| 48 | description: Import mbed TLS into mbed-os master and test mbed TLS hashing |
| 49 | example. |
| 50 | name: TEST_MBED_OS_HASHING_EXAMPLE |
| 51 | - bool: |
| 52 | default: false |
| 53 | description: Import mbed TLS into mbed-os master and test mbed TLS tls-client |
| 54 | example. |
| 55 | name: TEST_MBED_OS_TLS_CLIENT_EXAMPLE |
| 56 | - string: |
Arthur She | 9777624 | 2022-01-12 21:03:23 -0800 | [diff] [blame] | 57 | default: https://github.com/ARMmbed/mbed-os.git |
Leonardo Sandoval | 85fb3bf | 2021-12-17 11:36:43 -0600 | [diff] [blame] | 58 | description: Enter the Mbed OS repo or fork |
| 59 | name: MBED_OS_REPO |
| 60 | trim: 'false' |
| 61 | - string: |
| 62 | default: master |
| 63 | description: |- |
| 64 | Enter branch or commit to test. |
| 65 | |
| 66 | By default we test with the HEAD of the master branch, which is NOT a fixed release. |
| 67 | name: MBED_OS_BRANCH |
| 68 | trim: 'false' |
| 69 | - string: |
Arthur She | 9777624 | 2022-01-12 21:03:23 -0800 | [diff] [blame] | 70 | default: https://github.com/ARMmbed/mbed-os-example-tls.git |
Leonardo Sandoval | 85fb3bf | 2021-12-17 11:36:43 -0600 | [diff] [blame] | 71 | description: |- |
| 72 | Enter the Mbed OS examples repo or fork. |
| 73 | |
| 74 | This defaults to the main repository the examples are held in. |
| 75 | name: MBED_OS_TLS_EXAMPLES_REPO |
| 76 | trim: 'false' |
| 77 | - string: |
| 78 | default: master |
| 79 | description: |- |
| 80 | Enter branch or commit to test. |
| 81 | |
| 82 | This defaults to the HEAD of the master branch. |
| 83 | name: MBED_OS_TLS_EXAMPLES_BRANCH |
| 84 | trim: 'false' |
| 85 | - choice: |
| 86 | choices: |
| 87 | - Pull Request |
| 88 | - Mbed OS Gold Boards |
| 89 | - Mbed OS Silver Boards |
| 90 | - Mbed OS Gold Boards + Mbed OS Silver Boards |
| 91 | description: |- |
| 92 | Pull Request - Boards tested in the Pull Request job<br> |
| 93 | |
| 94 | For the list of Mbed OS Gold and Silver boards, see <a href="https://confluence.arm.com/display/IoTBU/ISG+Device+SW+SUT+list">here</a> |
| 95 | name: PLATFORMS_TO_TEST |
| 96 | - string: |
Arthur She | 3900b9f | 2023-06-06 21:31:52 -0700 | [diff] [blame] | 97 | default: arthur.she@linaro.org,kelley.spoon@linaro.org,CE-OSS-Firmware-Crypto-TLS@arm.com,darryl.green@arm.com |
Leonardo Sandoval | 85fb3bf | 2021-12-17 11:36:43 -0600 | [diff] [blame] | 98 | description: '' |
| 99 | name: TEST_PASS_EMAIL_ADDRESS |
| 100 | trim: 'false' |
| 101 | - string: |
Arthur She | 3900b9f | 2023-06-06 21:31:52 -0700 | [diff] [blame] | 102 | default: arthur.she@linaro.org,kelley.spoon@linaro.org,CE-OSS-Firmware-Crypto-TLS@arm.com,darryl.green@arm.com |
Leonardo Sandoval | 85fb3bf | 2021-12-17 11:36:43 -0600 | [diff] [blame] | 103 | description: '' |
| 104 | name: TEST_FAIL_EMAIL_ADDRESS |
| 105 | trim: 'false' |
Arthur She | 470edc7 | 2022-02-15 22:29:49 -0800 | [diff] [blame] | 106 | - bool: |
Bence Szépkúti | 28f6d01 | 2022-04-05 22:50:16 +0200 | [diff] [blame] | 107 | default: false |
Arthur She | 470edc7 | 2022-02-15 22:29:49 -0800 | [diff] [blame] | 108 | description: Push head to coverity branch, triggering a scan (development only) |
| 109 | name: PUSH_COVERITY |
Leonardo Sandoval | 85fb3bf | 2021-12-17 11:36:43 -0600 | [diff] [blame] | 110 | pipeline-scm: |
| 111 | lightweight-checkout: true |
| 112 | scm: |
| 113 | - git: |
| 114 | branches: |
Arthur She | 4e4740f | 2022-03-01 22:37:20 -0800 | [diff] [blame] | 115 | - 'master' |
Arthur She | 33fe8c5 | 2022-03-31 17:31:12 -0700 | [diff] [blame] | 116 | url: https://github.com/Mbed-TLS/mbedtls-test.git |
Leonardo Sandoval | 85fb3bf | 2021-12-17 11:36:43 -0600 | [diff] [blame] | 117 | script-path: vars/mbedtls-release-Jenkinsfile |
| 118 | project-type: pipeline |
| 119 | properties: |
Arthur She | 3900b9f | 2023-06-06 21:31:52 -0700 | [diff] [blame] | 120 | - speed-durability: |
| 121 | hint: performance-optimized |
Leonardo Sandoval | 85fb3bf | 2021-12-17 11:36:43 -0600 | [diff] [blame] | 122 | - build-blocker: |
| 123 | block-level: GLOBAL |
| 124 | blocking-jobs: [] |
| 125 | queue-scanning: DISABLED |
| 126 | use-build-blocker: false |
| 127 | - build-discarder: |
| 128 | artifact-days-to-keep: -1 |
| 129 | artifact-num-to-keep: -1 |
| 130 | days-to-keep: 60 |
| 131 | num-to-keep: 100 |
| 132 | - inject: |
| 133 | enabled: true |
| 134 | keep-build-variables: true |
| 135 | keep-system-variables: true |
| 136 | load-from-master: false |
| 137 | override-build-parameters: false |
| 138 | properties-content: GIT_CREDENTIALS_ID=mbedtls-github-token |
| 139 | triggers: |
| 140 | - parameterized-timer: |
Arthur She | 3900b9f | 2023-06-06 21:31:52 -0700 | [diff] [blame] | 141 | cron: "H(0-29) 0 * * * %MBED_TLS_BRANCH=development \nH(0-29) 2 * * * %MBED_TLS_BRANCH=mbedtls-2.28" |