Skip to content

Commit 5b4786a

Browse files
authored
[CI] Add retry to build elastic-package binary (elastic#16158)
1 parent b2777a1 commit 5b4786a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.buildkite/scripts/common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ check_git_diff() {
261261
use_elastic_package() {
262262
echo "--- Installing elastic-package"
263263
mkdir -p build
264-
go build -o "${ELASTIC_PACKAGE_BIN}" github.com/elastic/elastic-package
264+
retry 5 go build -o "${ELASTIC_PACKAGE_BIN}" github.com/elastic/elastic-package
265265
}
266266

267267
elastic_package_verbosity() {

0 commit comments

Comments
 (0)