Vishal Bhoj | 64a4f33 | 2023-01-18 09:56:33 +0530 | [diff] [blame] | 1 | - job: |
| 2 | concurrent: true |
| 3 | description: Mbed TLS Nightly Tests |
Vishal Bhoj | d243122 | 2023-04-07 07:10:02 +0530 | [diff] [blame] | 4 | disabled: true |
Vishal Bhoj | 64a4f33 | 2023-01-18 09:56:33 +0530 | [diff] [blame] | 5 | name: vishal-mbed-tls-nightly-tests |
| 6 | parameters: |
| 7 | - string: |
| 8 | default: https://github.com/Mbed-TLS/mbedtls.git |
| 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: |
Vishal Bhoj | 62cd84f | 2023-01-29 13:16:10 +0530 | [diff] [blame] | 18 | default: false |
Vishal Bhoj | 64a4f33 | 2023-01-18 09:56:33 +0530 | [diff] [blame] | 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: |
Vishal Bhoj | 62cd84f | 2023-01-29 13:16:10 +0530 | [diff] [blame] | 29 | default: false |
Vishal Bhoj | 64a4f33 | 2023-01-18 09:56:33 +0530 | [diff] [blame] | 30 | description: Run Windows tests |
| 31 | name: RUN_WINDOWS_TEST |
| 32 | - bool: |
| 33 | default: false |
| 34 | description: Import mbed TLS into mbed-os master and test mbed TLS authcrypt |
| 35 | example. |
| 36 | name: TEST_MBED_OS_AUTHCRYPT_EXAMPLE |
| 37 | - bool: |
| 38 | default: false |
| 39 | description: Import mbed TLS into mbed-os master and test mbed TLS benchmark |
| 40 | example. |
| 41 | name: TEST_MBED_OS_BENCHMARK_EXAMPLE |
| 42 | - bool: |
| 43 | default: false |
| 44 | description: Import mbed TLS into mbed-os master and test mbed TLS hashing |
| 45 | example. |
| 46 | name: TEST_MBED_OS_HASHING_EXAMPLE |
| 47 | - bool: |
| 48 | default: false |
| 49 | description: Import mbed TLS into mbed-os master and test mbed TLS tls-client |
| 50 | example. |
| 51 | name: TEST_MBED_OS_TLS_CLIENT_EXAMPLE |
| 52 | - string: |
| 53 | default: https://github.com/ARMmbed/mbed-os.git |
| 54 | description: Enter the Mbed OS repo or fork |
| 55 | name: MBED_OS_REPO |
| 56 | trim: 'false' |
| 57 | - string: |
| 58 | default: master |
| 59 | description: |- |
| 60 | Enter branch or commit to test. |
| 61 | |
| 62 | By default we test with the HEAD of the master branch, which is NOT a fixed release. |
| 63 | name: MBED_OS_BRANCH |
| 64 | trim: 'false' |
| 65 | - string: |
| 66 | default: https://github.com/ARMmbed/mbed-os-example-tls.git |
| 67 | description: |- |
| 68 | Enter the Mbed OS examples repo or fork. |
| 69 | |
| 70 | This defaults to the main repository the examples are held in. |
| 71 | name: MBED_OS_TLS_EXAMPLES_REPO |
| 72 | trim: 'false' |
| 73 | - string: |
| 74 | default: master |
| 75 | description: |- |
| 76 | Enter branch or commit to test. |
| 77 | |
| 78 | This defaults to the HEAD of the master branch. |
| 79 | name: MBED_OS_TLS_EXAMPLES_BRANCH |
| 80 | trim: 'false' |
| 81 | - choice: |
| 82 | choices: |
| 83 | - Pull Request |
| 84 | - Mbed OS Gold Boards |
| 85 | - Mbed OS Silver Boards |
| 86 | - Mbed OS Gold Boards + Mbed OS Silver Boards |
| 87 | description: |- |
| 88 | Pull Request - Boards tested in the Pull Request job<br> |
| 89 | |
| 90 | 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> |
| 91 | name: PLATFORMS_TO_TEST |
| 92 | - string: |
Vishal Bhoj | 58d0737 | 2023-01-30 10:51:47 +0530 | [diff] [blame] | 93 | default: vishal.bhoj@linaro.org |
Vishal Bhoj | 64a4f33 | 2023-01-18 09:56:33 +0530 | [diff] [blame] | 94 | description: '' |
| 95 | name: TEST_PASS_EMAIL_ADDRESS |
| 96 | trim: 'false' |
| 97 | - string: |
Vishal Bhoj | 58d0737 | 2023-01-30 10:51:47 +0530 | [diff] [blame] | 98 | default: vishal.bhoj@linaro.org |
Vishal Bhoj | 64a4f33 | 2023-01-18 09:56:33 +0530 | [diff] [blame] | 99 | description: '' |
| 100 | name: TEST_FAIL_EMAIL_ADDRESS |
| 101 | trim: 'false' |
| 102 | - bool: |
| 103 | default: false |
| 104 | description: Push head to coverity branch, triggering a scan (development only) |
| 105 | name: PUSH_COVERITY |
Vishal Bhoj | d98df4e | 2023-01-18 14:56:15 +0530 | [diff] [blame] | 106 | wrappers: |
| 107 | - credentials-binding: |
| 108 | - text: |
| 109 | credential-id: TUXSUITE_TOKEN |
| 110 | variable: TUXSUITE_TOKEN |
Vishal Bhoj | 64a4f33 | 2023-01-18 09:56:33 +0530 | [diff] [blame] | 111 | pipeline-scm: |
| 112 | lightweight-checkout: true |
| 113 | scm: |
| 114 | - git: |
| 115 | branches: |
| 116 | - 'master' |
| 117 | url: https://github.com/vishalbhoj/mbedtls-test.git |
| 118 | script-path: vars/mbedtls-release-Jenkinsfile |
| 119 | project-type: pipeline |
| 120 | properties: |
| 121 | - build-blocker: |
| 122 | block-level: GLOBAL |
| 123 | blocking-jobs: [] |
| 124 | queue-scanning: DISABLED |
| 125 | use-build-blocker: false |
| 126 | - build-discarder: |
| 127 | artifact-days-to-keep: -1 |
| 128 | artifact-num-to-keep: -1 |
| 129 | days-to-keep: 60 |
| 130 | num-to-keep: 100 |
| 131 | - inject: |
| 132 | enabled: true |
| 133 | keep-build-variables: true |
| 134 | keep-system-variables: true |
| 135 | load-from-master: false |
| 136 | override-build-parameters: false |
| 137 | properties-content: GIT_CREDENTIALS_ID=mbedtls-github-token |
Vishal Bhoj | 62cd84f | 2023-01-29 13:16:10 +0530 | [diff] [blame] | 138 | triggers: |
| 139 | - parameterized-timer: |
| 140 | cron: "H(0-29) 0 * * * %MBED_TLS_BRANCH=development \nH(0-29) 2 * * * %MBED_TLS_BRANCH=mbedtls-2.28" |