Revert "Switch to shallow, https checkouts for parametrized jobs"

This reverts commit d59a3079f56f04f34df9b7d145124f7829623348.

Reason for revert: The attempted workaround was not successful

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