From 179895b0449fd8d43f52e47f33855d855f168629 Mon Sep 17 00:00:00 2001 From: Alexandre Bique Date: Tue, 24 Sep 2024 22:12:13 +0200 Subject: [PATCH] better archive --- jenkins/build.groovy | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/jenkins/build.groovy b/jenkins/build.groovy index 2bbcf3e..03c4ef6 100644 --- a/jenkins/build.groovy +++ b/jenkins/build.groovy @@ -67,10 +67,12 @@ pipeline { post { always { zip zipFile: 'linux-vcpkg-logs.zip', archive: true, overwrite: true, - glob: 'vcpkg/buildtrees/**/*.log, vcpkg/installed/vcpkg/issue_body.md' + glob: 'vcpkg/buildtrees/**/*.log, vcpkg/installed/vcpkg/issue_body.md', + dir: 'vcpkg/' zip zipFile: 'linux-clap-plugins.zip', archive: true, overwrite: true, - glob: 'builds/ninja-vcpkg/plugins/Release/clap-plugins.clap' + glob: 'builds/ninja-vcpkg/plugins/Release/clap-plugins.clap', + dir: 'builds/ninja-vcpkg/plugins/Release/' } } } @@ -100,10 +102,12 @@ pipeline { post { always { zip zipFile: 'macOS-vcpkg-logs.zip', archive: true, overwrite: true, - glob: 'vcpkg/buildtrees/**/*.log, vcpkg/installed/vcpkg/issue_body.md' + glob: 'vcpkg/buildtrees/**/*.log, vcpkg/installed/vcpkg/issue_body.md', + dir: 'vcpkg/' zip zipFile: 'macOS-clap-plugins.zip', archive: true, overwrite: true, - glob: 'builds/ninja-vcpkg/plugins/Release/clap-plugins.clap' + glob: 'builds/ninja-vcpkg/plugins/Release/clap-plugins.clap', + dir: 'builds/ninja-vcpkg/plugins/Release/' } } } @@ -135,10 +139,12 @@ pipeline { post { always { zip zipFile: 'windows-vcpkg-logs.zip', archive: true, overwrite: true, - glob: 'vcpkg/buildtrees/**/*.log, vcpkg/installed/vcpkg/issue_body.md' + glob: 'vcpkg/buildtrees/**/*.log, vcpkg/installed/vcpkg/issue_body.md', + dir: 'vcpkg/' zip zipFile: 'windows-clap-plugins.zip', archive: true, overwrite: true, - glob: 'builds/vs-vcpkg/plugins/Release/clap-plugins.clap' + glob: 'builds/vs-vcpkg/plugins/Release/clap-plugins.clap', + dir: 'builds/vs-vcpkg/plugins/Release/' } } }