blob: b33b620910ba2673c2a4357d047083ddd6180e7c [file] [log] [blame]
Arthur She3ea3df92023-07-18 14:53:14 -07001- job:
2 concurrent: true
3 description: Mbed TLS Nightly Tests
4 disabled: false
5 name: mbed-tls-nightly-tests
6 parameters:
7 - string:
Bence Szépkúti6deeb822024-09-12 14:23:53 +02008 default: ssh://git@github.com/Mbed-TLS/mbedtls.git
Arthur She3ea3df92023-07-18 14:53:14 -07009 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:
29 default: true
30 description: Run a selection of all.sh on FreeBSD
31 name: RUN_FREEBSD
32 - bool:
33 default: true
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:
Bence Szépkúti6deeb822024-09-12 14:23:53 +020057 default: ssh://git@github.com/ARMmbed/mbed-os.git
Arthur She3ea3df92023-07-18 14:53:14 -070058 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:
Bence Szépkúti6deeb822024-09-12 14:23:53 +020070 default: ssh://git@github.com/ARMmbed/mbed-os-example-tls.git
Arthur She3ea3df92023-07-18 14:53:14 -070071 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:
97 default: arthur.she@linaro.org,kelley.spoon@linaro.org,CE-OSS-Firmware-Crypto-TLS@arm.com,darryl.green@arm.com
Bence Szépkúti9ccf7f22024-11-06 21:03:57 +010098 description: E-mail addresses (delimited by ,) that a report should be sent to when the test run passes
Arthur She3ea3df92023-07-18 14:53:14 -070099 name: TEST_PASS_EMAIL_ADDRESS
Bence Szépkúti9ccf7f22024-11-06 21:03:57 +0100100 trim: 'true'
Arthur She3ea3df92023-07-18 14:53:14 -0700101 - string:
102 default: arthur.she@linaro.org,kelley.spoon@linaro.org,CE-OSS-Firmware-Crypto-TLS@arm.com,darryl.green@arm.com
Bence Szépkúti9ccf7f22024-11-06 21:03:57 +0100103 description: E-mail addresses (delimited by ,) that a report should be sent to when the test run fails
Arthur She3ea3df92023-07-18 14:53:14 -0700104 name: TEST_FAIL_EMAIL_ADDRESS
Bence Szépkúti9ccf7f22024-11-06 21:03:57 +0100105 trim: 'true'
Arthur She3ea3df92023-07-18 14:53:14 -0700106 - bool:
107 default: false
108 description: Push head to coverity branch, triggering a scan (development only)
109 name: PUSH_COVERITY
110 pipeline-scm:
111 lightweight-checkout: true
112 scm:
113 - git:
114 branches:
Bence Szépkútidbf2b892024-09-06 19:12:46 +0200115 - main
Bence Szépkúti6deeb822024-09-12 14:23:53 +0200116 credentials-id: mbedtls-github-ssh
117 url: ssh://git@github.com/Mbed-TLS/mbedtls-test.git
Arthur She3ea3df92023-07-18 14:53:14 -0700118 script-path: vars/mbedtls-release-Jenkinsfile
119 project-type: pipeline
120 properties:
121 - speed-durability:
122 hint: performance-optimized
123 - build-blocker:
124 block-level: GLOBAL
125 blocking-jobs: []
126 queue-scanning: DISABLED
127 use-build-blocker: false
128 - build-discarder:
129 artifact-days-to-keep: -1
130 artifact-num-to-keep: -1
131 days-to-keep: 60
132 num-to-keep: 100
133 - inject:
134 enabled: true
135 keep-build-variables: true
136 keep-system-variables: true
137 load-from-master: false
138 override-build-parameters: false
Bence Szépkúti6deeb822024-09-12 14:23:53 +0200139 properties-content: GIT_CREDENTIALS_ID=mbedtls-github-ssh
Arthur She3ea3df92023-07-18 14:53:14 -0700140 triggers:
141 - parameterized-timer:
Gilles Peskine6f23d5d2024-05-22 19:25:36 +0200142 cron: |
143 H(0-29) 0 * * * %MBED_TLS_BRANCH=development
144 H(0-29) 2 * * * %MBED_TLS_BRANCH=mbedtls-3.6
145 H(0-29) 4 * * * %MBED_TLS_BRANCH=mbedtls-2.28