blob: a8341ada2ee431b8d1d2dd57152c3362fa9a678a [file] [log] [blame]
Leonardo Sandoval85fb3bf2021-12-17 11:36:43 -06001- job:
2 concurrent: true
3 description: Mbed TLS Nightly Tests
4 disabled: false
5 name: mbed-tls-nightly-tests
6 parameters:
7 - string:
Arthur She97776242022-01-12 21:03:23 -08008 default: https://github.com/ARMmbed/mbedtls.git
Leonardo Sandoval85fb3bf2021-12-17 11:36:43 -06009 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: false
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:
Arthur She97776242022-01-12 21:03:23 -080053 default: https://github.com/ARMmbed/mbed-os.git
Leonardo Sandoval85fb3bf2021-12-17 11:36:43 -060054 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:
Arthur She97776242022-01-12 21:03:23 -080066 default: https://github.com/ARMmbed/mbed-os-example-tls.git
Leonardo Sandoval85fb3bf2021-12-17 11:36:43 -060067 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:
Arthur She97776242022-01-12 21:03:23 -080093 default: arthur.she@linaro.org
Leonardo Sandoval85fb3bf2021-12-17 11:36:43 -060094 description: ''
95 name: TEST_PASS_EMAIL_ADDRESS
96 trim: 'false'
97 - string:
Arthur She97776242022-01-12 21:03:23 -080098 default: arthur.she@linaro.org
Leonardo Sandoval85fb3bf2021-12-17 11:36:43 -060099 description: ''
100 name: TEST_FAIL_EMAIL_ADDRESS
101 trim: 'false'
102 pipeline-scm:
103 lightweight-checkout: true
104 scm:
105 - git:
106 branches:
Arthur She97776242022-01-12 21:03:23 -0800107 - 'mbedtls-open-ci'
108 url: https://github.com/arthur-she/mbedtls-test.git
Leonardo Sandoval85fb3bf2021-12-17 11:36:43 -0600109 script-path: vars/mbedtls-release-Jenkinsfile
110 project-type: pipeline
111 properties:
112 - build-blocker:
113 block-level: GLOBAL
114 blocking-jobs: []
115 queue-scanning: DISABLED
116 use-build-blocker: false
117 - build-discarder:
118 artifact-days-to-keep: -1
119 artifact-num-to-keep: -1
120 days-to-keep: 60
121 num-to-keep: 100
122 - inject:
123 enabled: true
124 keep-build-variables: true
125 keep-system-variables: true
126 load-from-master: false
127 override-build-parameters: false
128 properties-content: GIT_CREDENTIALS_ID=mbedtls-github-token
129 triggers:
130 - parameterized-timer:
131 cron: "H(0-29) 20 * * * %MBED_TLS_BRANCH=development \nH(0-29) 20 * * * %MBED_TLS_BRANCH=development_2.x \nH(0-29) 20 * * * %MBED_TLS_BRANCH=mbedtls-2.16"