blob: af89e158017d5fcf2cbb9620a92c510dd910ee96 [file] [log] [blame]
- job:
concurrent: true
description: |
Mbed TLS PR job on a chosen branch of <tt>mbedtls-test</tt>.
<p>
Check at least one of the <tt>RUN_</tt> parameters!
Otherwise not much will happen.
<p>
Choose the branch of <tt>mbedtls-test</tt> under <tt>TEST_BRANCH</tt>.
disabled: false
name: mbed-tls-restricted-pr-test-parametrized
parameters:
- string:
default: development
description: Set this to the branch you would be targeting for a PR
name: CHANGE_TARGET
trim: true
- string:
default: ssh://git@github.com/Mbed-TLS/mbedtls-restricted.git
description: Mbed TLS repo/fork
name: MBED_TLS_REPO
trim: true
- string:
default: development-restricted
description: Branch or commit to test
name: MBED_TLS_BRANCH
trim: true
- string:
default: ssh://git@github.com/Mbed-TLS/mbedtls-framework.git
description: Framework repo/fork
name: FRAMEWORK_REPO
trim: true
- string:
default: ''
description: Enter Framework branch/sha to override the sha specified in the Mbed TLS branch
name: FRAMEWORK_BRANCH
trim: true
- string:
default: ssh://git@github.com/Mbed-TLS/TF-PSA-Crypto.git
description: TF PSA Crypto repo/fork
name: TF_PSA_CRYPTO_REPO
trim: true
- string:
default: ''
description: Enter TF PSA Crypto branch/sha to override the sha specified in the Mbed TLS branch.
name: TF_PSA_CRYPTO_BRANCH
trim: true
- bool:
default: false
description: Run a selection of all.sh on FreeBSD
name: RUN_FREEBSD
- bool:
default: false
description: Run Windows tests
name: RUN_WINDOWS_TEST
- bool:
default: false
description: Run all.sh (excluding release components) on Linux
name: RUN_ALL_SH
- bool:
default: false
description: Run the ABI checking test
name: RUN_ABI_CHECK
- bool:
default: false
description: |
Run TF-PSA-Crypto all.sh tests - Only enable if both TF_PSA_CRYPTO_REPO and TF_PSA_CRYPTO_BRANCH are set!
Otherwise the test run will fail during BranchInfo gathering.
name: RUN_TF_PSA_CRYPTO_ALL_SH
- string:
name: TEST_BRANCH
description: Branch or tag in https://github.com/Mbed-TLS/mbedtls-test.git (forks are not supported)
default: main
trim: true
pipeline-scm:
lightweight-checkout: false
scm:
- git:
branches:
- ${TEST_BRANCH}
credentials-id: mbedtls-github-ssh
url: ssh://git@github.com/Mbed-TLS/mbedtls-test.git
script-path: vars/mbedtls-pr-test-Jenkinsfile
project-type: pipeline
properties:
- speed-durability:
hint: performance-optimized
- build-blocker:
block-level: GLOBAL
blocking-jobs: []
queue-scanning: DISABLED
use-build-blocker: false
- build-discarder:
artifact-days-to-keep: -1
artifact-num-to-keep: -1
days-to-keep: 60
num-to-keep: 100
- github:
url: https://github.com/Mbed-TLS/mbedtls
- inject:
enabled: true
keep-build-variables: true
keep-system-variables: true
load-from-master: false
override-build-parameters: false
properties-content: GIT_CREDENTIALS_ID=mbedtls-github-ssh
triggers: []