Jenkinsfile_mmcImages: do not archive ostree when building bootloader

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
This commit is contained in:
Marc Mattmueller 2021-07-07 16:16:27 +02:00
parent c324a95b49
commit 15832f8603
1 changed files with 3 additions and 1 deletions

View File

@ -75,7 +75,9 @@ pipeline {
script {
build(params.IMAGE_TYPE)
createArchive(params.IMAGE_TYPE, env.IMG_OUTPUT_DIR)
archiveOSTreeArtifact(env.IMG_OUTPUT_DIR)
if(params.IMAGE_TYPE != 'bootloader') {
archiveOSTreeArtifact(env.IMG_OUTPUT_DIR)
}
yoctocommon.archiveImages(env.IMG_OUTPUT_DIR)
}
}