Skip to content

Commit 03a384e

Browse files
committed
Add metadata for the repo as well
1 parent 3515da7 commit 03a384e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.buildkite/scripts/build_pr.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ export GIT_COMMITTER_NAME=$GIT_AUTHOR_NAME
1515
export GIT_COMMITTER_EMAIL=$GIT_AUTHOR_EMAIL
1616

1717
# Set some metadata for build filtering capabilities
18+
# https://buildkite.com/elastic/docs-build-pr/builds?meta_data[repo]=tech-content
1819
# https://buildkite.com/elastic/docs-build-pr/builds?meta_data[repo_pr]=tech-content_123
20+
buildkite-agent meta-data set "repo" "${GITHUB_PR_BASE_REPO}"
1921
buildkite-agent meta-data set "repo_pr" "${GITHUB_PR_BASE_REPO}_${GITHUB_PR_NUMBER}"
2022

2123
rebuild_opt=""

0 commit comments

Comments
 (0)