Switch to shallow, https checkouts for parametrized jobs

This works around a bug in the git parameter plugin.

Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com>
Change-Id: Ie54d5efbfe9ed2cf7bae8ead098fc2d2a99e54e2
diff --git a/mbed-tls-restricted-pr-test-parametrized.yaml b/mbed-tls-restricted-pr-test-parametrized.yaml
index 3525bb7..154d99b 100644
--- a/mbed-tls-restricted-pr-test-parametrized.yaml
+++ b/mbed-tls-restricted-pr-test-parametrized.yaml
@@ -75,13 +75,14 @@
         defaultValue: main
         selectedValue: DEFAULT
     pipeline-scm:
-      lightweight-checkout: false
+      lightweight-checkout: true
       scm:
       - git:
           branches:
           - ${TEST_BRANCH}
-          credentials-id: mbedtls-github-ssh
-          url: ssh://git@github.com/Mbed-TLS/mbedtls-test.git
+          credentials-id: mbedtls-github-token
+          shallow-clone: true
+          url: https://github.com/Mbed-TLS/mbedtls-test.git
       script-path: vars/mbedtls-pr-test-Jenkinsfile
     project-type: pipeline
     properties:
diff --git a/mbedtls-release-ci-testing.yaml b/mbedtls-release-ci-testing.yaml
index 8f1701b..47d79c8 100644
--- a/mbedtls-release-ci-testing.yaml
+++ b/mbedtls-release-ci-testing.yaml
@@ -84,13 +84,14 @@
         default: ''
         trim: true
     pipeline-scm:
-      lightweight-checkout: false
+      lightweight-checkout: true
       scm:
       - git:
           branches:
           - ${TEST_BRANCH}
-          credentials-id: mbedtls-github-ssh
-          url: ssh://git@github.com/Mbed-TLS/mbedtls-test.git
+          credentials-id: mbedtls-github-token
+          shallow-clone: true
+          url: https://github.com/Mbed-TLS/mbedtls-test.git
       script-path: vars/mbedtls-release-Jenkinsfile
     project-type: pipeline
     properties: