Skip to content

Commit

Permalink
Moved msitool to earlier install phase
Browse files Browse the repository at this point in the history
  • Loading branch information
pazone committed Apr 17, 2024
1 parent d2377c0 commit 020232c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .ci/packaging.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -281,9 +281,11 @@ def generateLinuxStep(beat) {
withNode(labels: 'ubuntu-22.04 && immutable') {
withEnv(["HOME=${env.WORKSPACE}", "PLATFORMS=${linuxPlatforms()}", "BEATS_FOLDER=${beat}"]) {
withGithubNotify(context: "Packaging Linux ${beat}") {
if (beat.equals('x-pack/agentbeat') || beat.equals('x-pack/osquerybeat')) {
sh(label: 'install msitools', script: '.buildkite/scripts/install-msitools.sh')
}
dir("${BASE_DIR}"){
if (beat.equals('x-pack/agentbeat') || beat.equals('x-pack/osquerybeat')) {
sh(label: 'install msitools', script: '.buildkite/scripts/install-msitools.sh')
}
}
deleteDir()
release('snapshot')
dir("${BASE_DIR}"){
Expand Down

0 comments on commit 020232c

Please sign in to comment.