blob: 9a4a73ec708f39755230accf77c7119ca7b1a136 [file] [log] [blame]
Arthur She3d89a912023-07-19 14:17:38 -07001- job:
2 concurrent: true
3 description: Mbed TLS Release job (new)
4 disabled: false
5 name: mbedtls-release-ci-testing
6 parameters:
7 - string:
Bence Szépkútid9231742024-09-12 14:22:51 +02008 default: ssh://git@github.com/Mbed-TLS/mbedtls.git
Arthur She3d89a912023-07-19 14:17:38 -07009 description: Enter mbed TLS repo/fork
10 name: MBED_TLS_REPO
11 trim: 'true'
12 - string:
13 default: development
14 description: Enter branch or commit to test
15 name: MBED_TLS_BRANCH
16 trim: 'true'
Bence Szépkútib9df4e02024-10-16 07:47:14 +020017 - string:
18 default: ssh://git@github.com:Mbed-TLS/mbedtls-framework.git
19 description: Enter Framework repo/fork to override the one specififed in the Mbed TLS branch (only used if FRAMEWORK_BRANCH is also set)
20 name: FRAMEWORK_TLS_REPO
21 trim: 'true'
22 - string:
23 default: ''
24 description: Enter Framework branch to override the one specififed in the Mbed TLS branch.
25 name: FRAMEWORK_TLS_BRANCH
26 trim: 'false'
Arthur She3d89a912023-07-19 14:17:38 -070027 - bool:
28 default: false
29 description: Run basic-build-test.sh (test coverage measurement)
30 name: RUN_BASIC_BUILD_TEST
31 - bool:
32 default: false
33 description: Run all.sh on Linux
34 name: RUN_ALL_SH
35 - bool:
36 default: false
37 description: Run a selection of all.sh on FreeBSD
38 name: RUN_FREEBSD
39 - bool:
40 default: false
41 description: Run Windows tests
42 name: RUN_WINDOWS_TEST
43 - bool:
44 default: false
45 description: Import mbed TLS into mbed-os master and test mbed TLS authcrypt
46 example.
47 name: TEST_MBED_OS_AUTHCRYPT_EXAMPLE
48 - bool:
49 default: false
50 description: Import mbed TLS into mbed-os master and test mbed TLS benchmark
51 example.
52 name: TEST_MBED_OS_BENCHMARK_EXAMPLE
53 - bool:
54 default: false
55 description: Import mbed TLS into mbed-os master and test mbed TLS hashing
56 example.
57 name: TEST_MBED_OS_HASHING_EXAMPLE
58 - bool:
59 default: false
60 description: Import mbed TLS into mbed-os master and test mbed TLS tls-client
61 example.
62 name: TEST_MBED_OS_TLS_CLIENT_EXAMPLE
63 - string:
64 default: ''
65 description: |-
66 Enter Mbed Crypto repo/fork. Note this *ONLY* influences the Mbed OS tests at this time.
67
68 Optional - if omitted will use what's embedded in the Mbed TLS submodule.
69 name: MBED_CRYPTO_REPO
70 trim: 'true'
71 - string:
72 default: ''
73 description: |-
74 Enter Mbed Crypto branch. Note this *ONLY* influences the Mbed OS tests at this time.
75
76 Optional - if omitted will use what's embedded in the Mbed TLS submodule.
77 name: MBED_CRYPTO_BRANCH
78 trim: 'true'
79 - string:
Bence Szépkútid9231742024-09-12 14:22:51 +020080 default: ssh://git@github.com/ARMmbed/mbed-os.git
Arthur She3d89a912023-07-19 14:17:38 -070081 description: Enter the Mbed OS repo or fork
82 name: MBED_OS_REPO
83 trim: 'true'
84 - string:
85 default: master
86 description: |-
87 Enter branch or commit to test.
88
89 By default we test with the HEAD of the master branch, which is NOT a fixed release.
90 name: MBED_OS_BRANCH
91 trim: 'true'
92 - string:
Bence Szépkútid9231742024-09-12 14:22:51 +020093 default: ssh://git@github.com/ARMmbed/mbed-os-example-tls.git
Arthur She3d89a912023-07-19 14:17:38 -070094 description: |-
95 Enter the Mbed OS examples repo or fork.
96
97 This defaults to the main repository the examples are held in.
98 name: MBED_OS_TLS_EXAMPLES_REPO
99 trim: 'true'
100 - string:
101 default: master
102 description: |-
103 Enter branch or commit to test.
104
105 This defaults to the HEAD of the master branch.
106 name: MBED_OS_TLS_EXAMPLES_BRANCH
107 trim: 'true'
108 - choice:
109 choices:
110 - Pull Request
111 - Mbed OS Gold Boards
112 - Mbed OS Silver Boards
113 - Mbed OS Gold Boards + Mbed OS Silver Boards
114 description: |-
115 Pull Request - Boards tested in the Pull Request job<br>
116
117 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>
118 name: PLATFORMS_TO_TEST
119 - bool:
120 default: false
121 description: Push head to coverity branch, triggering a scan (development only)
122 name: PUSH_COVERITY
Bence Szépkúti52b7d452024-09-12 18:04:12 +0200123 - string:
Arthur She3d89a912023-07-19 14:17:38 -0700124 name: TEST_BRANCH
125 description: Branch or tag in https://github.com/Mbed-TLS/mbedtls-test.git (forks are not supported)
Bence Szépkúti52b7d452024-09-12 18:04:12 +0200126 default: main
127 trim: 'false'
Bence Szépkúti9ccf7f22024-11-06 21:03:57 +0100128 - string:
129 name: TEST_PASS_EMAIL_ADDRESS
130 description: E-mail addresses (delimited by ,) that a report should be sent to when the test run passes
131 default: ''
132 trim: true
133 - string:
134 name: TEST_FAIL_EMAIL_ADDRESS
135 description: E-mail addresses (delimited by ,) that a report should be sent to when the test run fails
136 default: ''
137 trim: true
Arthur She3d89a912023-07-19 14:17:38 -0700138 pipeline-scm:
139 lightweight-checkout: false
140 scm:
141 - git:
142 branches:
143 - ${TEST_BRANCH}
Bence Szépkútid9231742024-09-12 14:22:51 +0200144 credentials-id: mbedtls-github-ssh
145 url: ssh://git@github.com/Mbed-TLS/mbedtls-test.git
Arthur She3d89a912023-07-19 14:17:38 -0700146 script-path: vars/mbedtls-release-Jenkinsfile
147 project-type: pipeline
148 properties:
149 - speed-durability:
150 hint: performance-optimized
151 - build-blocker:
152 block-level: GLOBAL
153 blocking-jobs: []
154 queue-scanning: DISABLED
155 use-build-blocker: false
156 - build-discarder:
157 artifact-days-to-keep: -1
158 artifact-num-to-keep: -1
159 days-to-keep: 60
160 num-to-keep: 30
161 - github:
162 url: https://github.com/Mbed-TLS/mbedtls
163 - inject:
164 enabled: true
165 keep-build-variables: true
166 keep-system-variables: true
167 load-from-master: false
168 override-build-parameters: false
169 properties-content: |-
170 GIT_CREDENTIALS_ID=mbedtls-github-ssh
Arthur She3d89a912023-07-19 14:17:38 -0700171