diff options
author | Quentin Schulz <quentin.schulz@theobroma-systems.com> | 2022-10-21 11:41:55 +0200 |
---|---|---|
committer | Quentin Schulz <quentin.schulz@theobroma-systems.com> | 2022-10-25 13:15:36 +0200 |
commit | c8e7f85606dd0f7885aaa05d0b50753db14b1097 (patch) | |
tree | ac9fe3c439db8fd6634f556eb92eb31632e6316a /Jenkinsfile | |
parent | 89cfce18161eea789adba2761bb58e678fb18c0a (diff) |
Jenkinsfile: only archive files that are not symlinks
Jenkins does not seem to like symlinks, so let's archive only the actual
file via some educated guess on what the filename should look like.
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Diffstat (limited to 'Jenkinsfile')
-rw-r--r-- | Jenkinsfile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index 53a1b16..231bcf0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -67,13 +67,11 @@ pipeline { stage('Archive') { steps { dir("build/tmp/deploy/images/$KAS_MACHINE/") { - /* Note: symlinks aren't followed, one needs to archive both the symlink and what it points to */ - archiveArtifacts 'core-image-minimal-*.wic' - archiveArtifacts 'core-image-minimal-*.wic.bmap' - archiveArtifacts artifacts: 'fitImage*.bin', excludes: 'fitImage*linux.bin*' - archiveArtifacts 'fitImage' - archiveArtifacts 'idbloader.img*' - archiveArtifacts 'u-boot*.itb' + archiveArtifacts "core-image-minimal-$KAS_MACHINE-*.wic" + archiveArtifacts "core-image-minimal-$KAS_MACHINE-*.wic.bmap" + archiveArtifacts artifacts: "fitImage*$KAS_MACHINE-*.bin", excludes: 'fitImage*linux.bin*' + archiveArtifacts "idbloader.img-$KAS_MACHINE-*" + archiveArtifacts "u-boot-$KAS_MACHINE-*.itb" } } } |