Build: Change build commands to align with TF-M split build
TF-M build commands are changed by new feature "split build".
Update CI scripts to support this feature.
Signed-off-by: Xinyu Zhang <xinyu.zhang@arm.com>
Change-Id: If5a81ca7a1bd99ac8fb9f4850be89b48b76fcbe2
diff --git a/jenkins/build-config.jpl b/jenkins/build-config.jpl
index 802f0e8..8d6df40 100644
--- a/jenkins/build-config.jpl
+++ b/jenkins/build-config.jpl
@@ -34,11 +34,14 @@
sh "tf-m-ci-scripts/run-build.sh"
}
stage("Post") {
- archiveArtifacts 'trusted-firmware-m/build/bin/**'
- archiveArtifacts 'trusted-firmware-m/build/install/interface/**'
+ archiveArtifacts 'ci_build/spe/bin/**'
+ archiveArtifacts 'ci_build/nspe/bin/**'
+ archiveArtifacts 'ci_build/nspe/*.bin'
+ archiveArtifacts 'ci_build/spe/api_ns/bin/**'
+ archiveArtifacts 'ci_build/spe/api_ns/interface/**'
def upstreamProject = getUpstreamJob()[0].upstreamProject
if (upstreamProject == "tf-m-build-and-test") {
- archiveArtifacts 'trusted-firmware-m/build/generated/**'
+ archiveArtifacts 'ci_build/spe/build-spe/generated/**'
}
if (upstreamProject == "tf-m-nightly-performance"){
//Creating a folder to store memory footprint artifacts and launching the memory footprint script.
@@ -48,7 +51,7 @@
}
}
} catch (Exception e) {
- archiveArtifacts artifacts: 'trusted-firmware-m/build/**', allowEmptyArchive: true
+ archiveArtifacts artifacts: 'ci_build/**', allowEmptyArchive: true
manager.buildFailure()
verify = -1
} finally {