blob: cab346958a2231ff095b791f4aaae63bfaa7da6a [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:
8 default: https://github.com/lsandov1/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:
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:
53 default: https://github.com/lsandov1/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/lsandov1/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:
93 default: leonardo.sandoval@linaro.org
94 description: ''
95 name: TEST_PASS_EMAIL_ADDRESS
96 trim: 'false'
97 - string:
98 default: leonardo.sandoval@linaro.org
99 description: ''
100 name: TEST_FAIL_EMAIL_ADDRESS
101 trim: 'false'
102 pipeline-scm:
103 lightweight-checkout: true
104 scm:
105 - git:
106 branches:
107 - '*/mbedtls-open-ci'
108 credentials-id: mbedtls-test-github-token
109 url: https://github.com/lsandov1/mbedtls-test.git
110 script-path: vars/mbedtls-release-Jenkinsfile
111 project-type: pipeline
112 properties:
113 - build-blocker:
114 block-level: GLOBAL
115 blocking-jobs: []
116 queue-scanning: DISABLED
117 use-build-blocker: false
118 - build-discarder:
119 artifact-days-to-keep: -1
120 artifact-num-to-keep: -1
121 days-to-keep: 60
122 num-to-keep: 100
123 - inject:
124 enabled: true
125 keep-build-variables: true
126 keep-system-variables: true
127 load-from-master: false
128 override-build-parameters: false
129 properties-content: GIT_CREDENTIALS_ID=mbedtls-github-token
130 triggers:
131 - parameterized-timer:
132 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"