Skip to content

Commit

Permalink
zip: use file instead of glob for the plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
abique committed Sep 24, 2024
1 parent e737e24 commit 47fbe03
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions jenkins/build.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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'
}
}
}
Expand Down Expand Up @@ -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'
}
}
}
Expand Down Expand Up @@ -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'
}
}
}
Expand Down

0 comments on commit 47fbe03

Please sign in to comment.