mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[artifacts] Only upload beats artifacts if they exist (#132136)
* [artifacts] Only upload beats artifacts if they exist Beats artifacts are downloaded as a side effect of building the cloud image. At times (e.g. a staging build, where we don't have the correct sha) we may skip the cloud image build and these artifacts will not be available to upload. * Update .buildkite/scripts/steps/artifacts/build.sh Co-authored-by: Spencer <email@spalger.com> Co-authored-by: Spencer <email@spalger.com>
This commit is contained in:
parent
70d7de4579
commit
7e5fc82674
1 changed files with 6 additions and 4 deletions
|
@ -25,7 +25,9 @@ buildkite-agent artifact upload "dependencies-$FULL_VERSION.csv.sha512.txt"
|
|||
buildkite-agent artifact upload 'i18n/*.json'
|
||||
cd -
|
||||
|
||||
cd .beats
|
||||
buildkite-agent artifact upload 'metricbeat-*'
|
||||
buildkite-agent artifact upload 'filebeat-*'
|
||||
cd -
|
||||
if [ -d .beats ]; then
|
||||
cd .beats
|
||||
buildkite-agent artifact upload 'metricbeat-*'
|
||||
buildkite-agent artifact upload 'filebeat-*'
|
||||
cd -
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue