From 47fbe03c08b8117cf0d7417dc7df2d6eea8135db Mon Sep 17 00:00:00 2001 From: Alexandre Bique Date: Tue, 24 Sep 2024 21:58:27 +0200 Subject: [PATCH] zip: use file instead of glob for the plugin --- jenkins/build.groovy | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/jenkins/build.groovy b/jenkins/build.groovy index ba1cfe7..d1ddf7f 100644 --- a/jenkins/build.groovy +++ b/jenkins/build.groovy @@ -5,8 +5,8 @@ pipeline { parameters { string( - defaultValue: 'main', name: 'BRANCH_OR_COMMIT_HASH', - description: 'Git branch name or commit hash to build. Defaults to tip of main branch.') + defaultValue: 'main', name: 'BRANCH_OR_COMMIT_HASH', + description: 'Git branch name or commit hash to build. Defaults to tip of main branch.') booleanParam( defaultValue: false, @@ -66,11 +66,11 @@ pipeline { } post { always { - zip zipFile: 'linux-clap-plugins.zip', archive: true, overwrite: true, - glob: 'builds/ninja-vcpkg/plugins/Release/clap-plugins.clap' - zip zipFile: 'linux-vcpkg-logs.zip', archive: true, overwrite: true, glob: 'vcpkg/buildtrees/**/*.log, vcpkg/installed/vcpkg/issue_body.md' + + zip zipFile: 'linux-clap-plugins.zip', archive: true, overwrite: true, + file: 'builds/ninja-vcpkg/plugins/Release/clap-plugins.clap' } } } @@ -99,11 +99,11 @@ pipeline { } post { always { - zip zipFile: 'macOS-clap-plugins.zip', archive: true, overwrite: true, - glob: 'builds/ninja-vcpkg/plugins/Release/clap-plugins.clap' - zip zipFile: 'macOS-vcpkg-logs.zip', archive: true, overwrite: true, glob: 'vcpkg/buildtrees/**/*.log, vcpkg/installed/vcpkg/issue_body.md' + + zip zipFile: 'macOS-clap-plugins.zip', archive: true, overwrite: true, + file: 'builds/ninja-vcpkg/plugins/Release/clap-plugins.clap' } } } @@ -134,11 +134,11 @@ pipeline { } post { always { - zip zipFile: 'windows-clap-plugins.zip', archive: true, overwrite: true, - glob: 'builds/vs-vcpkg/plugins/Release/clap-plugins.clap' - zip zipFile: 'windows-vcpkg-logs.zip', archive: true, overwrite: true, glob: 'vcpkg/buildtrees/**/*.log, vcpkg/installed/vcpkg/issue_body.md' + + zip zipFile: 'windows-clap-plugins.zip', archive: true, overwrite: true, + file: 'builds/vs-vcpkg/plugins/Release/clap-plugins.clap' } } }