Add MCUBoot dependency for cppcheck
Change-Id: I0386cceaaf71e412642713c89c014a01184e5383
Signed-off-by: Tamas Ban <tamas.ban@arm.com>
diff --git a/jenkins/cppcheck.jpl b/jenkins/cppcheck.jpl
index 61e231d..872a0d9 100644
--- a/jenkins/cppcheck.jpl
+++ b/jenkins/cppcheck.jpl
@@ -42,6 +42,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