[8.12] Update docs-preview link (#176468) (#176517)

# Backport

This will backport the following commits from `main` to `8.12`:
- [Update docs-preview link
(#176468)](https://github.com/elastic/kibana/pull/176468)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Nassim
Kammah","email":"nkammah@gmail.com"},"sourceCommit":{"committedDate":"2024-02-08T07:42:35Z","message":"Update
docs-preview link (#176468)\n\n## Summary\r\n\r\nFollowing the migration
from Jenkins to Buildkite, docs previews are now\r\navailable at
<repo>_bk_<PR>.\r\nMore context in
https://github.com/elastic/docs/pull/2898\r\n\r\n###
Checklist\r\n\r\n\r\n### Risk Matrix\r\n\r\n\r\n### For
maintainers\r\n\r\n- [ ] This was checked for breaking API changes and
was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"096bf5515a34f1158a3bd1c0a259388b337f1f68","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:all-open","v8.13.0"],"title":"Update
docs-preview
link","number":176468,"url":"https://github.com/elastic/kibana/pull/176468","mergeCommit":{"message":"Update
docs-preview link (#176468)\n\n## Summary\r\n\r\nFollowing the migration
from Jenkins to Buildkite, docs previews are now\r\navailable at
<repo>_bk_<PR>.\r\nMore context in
https://github.com/elastic/docs/pull/2898\r\n\r\n###
Checklist\r\n\r\n\r\n### Risk Matrix\r\n\r\n\r\n### For
maintainers\r\n\r\n- [ ] This was checked for breaking API changes and
was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"096bf5515a34f1158a3bd1c0a259388b337f1f68"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.13.0","branchLabelMappingKey":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/176468","number":176468,"mergeCommit":{"message":"Update
docs-preview link (#176468)\n\n## Summary\r\n\r\nFollowing the migration
from Jenkins to Buildkite, docs previews are now\r\navailable at
<repo>_bk_<PR>.\r\nMore context in
https://github.com/elastic/docs/pull/2898\r\n\r\n###
Checklist\r\n\r\n\r\n### Risk Matrix\r\n\r\n\r\n### For
maintainers\r\n\r\n- [ ] This was checked for breaking API changes and
was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"096bf5515a34f1158a3bd1c0a259388b337f1f68"}}]}]
BACKPORT-->

Co-authored-by: Nassim Kammah <nkammah@gmail.com>
This commit is contained in:
Kibana Machine 2024-02-08 12:39:29 -05:00 committed by GitHub
parent 014ef995ae
commit fcdad5a631
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,7 +12,7 @@ fi
ts-node "$(dirname "${0}")/ci_stats_complete.ts"
if [[ "${GITHUB_PR_NUMBER:-}" ]]; then
DOCS_CHANGES_URL="https://kibana_$GITHUB_PR_NUMBER}.docs-preview.app.elstc.co/diff"
DOCS_CHANGES_URL="https://kibana_bk_$GITHUB_PR_NUMBER}.docs-preview.app.elstc.co/diff"
DOCS_CHANGES=$(curl --connect-timeout 10 -m 10 -sf "$DOCS_CHANGES_URL" || echo '')
if [[ "$DOCS_CHANGES" && "$DOCS_CHANGES" != "There aren't any differences!" ]]; then