Add MCUBoot repo as a dependency to TF-M CI

In order to make upstream MCUBoot repo to be the
default bootloader in TF-M the CI need to download
the repo to be able to access to it during build.

Change-Id: If1a396a3282d7a75f66a453369c68c4262e06455
Signed-off-by: Tamas Ban <tamas.ban@arm.com>
diff --git a/jenkins/build-config.jpl b/jenkins/build-config.jpl
index ac27da8..b9b4f21 100644
--- a/jenkins/build-config.jpl
+++ b/jenkins/build-config.jpl
@@ -47,6 +47,20 @@
         ]
       )
     }
+    dir("mcuboot") {
+      checkout(
+        changelog: false,
+        poll: false,
+        scm: [
+          $class: 'GitSCM',
+          branches: [[name: 'FETCH_HEAD']],
+          userRemoteConfigs: [[
+            refspec: 'refs/tags/$MCUBOOT_VERSION',
+            url: params.MCUBOOT_URL
+          ]]
+        ]
+      )
+    }
     sh """
     # Host https://github.com/Arm-software/CMSIS_5/releases/download/5.5.0/ARM.CMSIS.5.5.0.pack
     # under \$JENKINS_HOME/userContent