Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
Update docs-preview link
Browse files Browse the repository at this point in the history
Following the migration from Jenkins to Buildkite, docs previews are now available at <repo>_bk_<PR>.

More context in elastic/docs#2898
  • Loading branch information
nkammah authored Feb 8, 2024
1 parent e5382eb commit 546cf31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vars/notifyBuildResult.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def call(Map args = [:]) {
def jobName = args.get('jobName') ? args.jobName : ''
catchError(message: 'There were some failures with the notifications', buildResult: 'SUCCESS', stageResult: 'UNSTABLE') {
def data = getBuildInfoJsonFiles(jobURL: env.JOB_URL, buildNumber: env.BUILD_NUMBER, returnData: true)
data['docsUrl'] = "http://${env?.REPO_NAME}_${env?.CHANGE_ID}.docs-preview.app.elstc.co/diff"
data['docsUrl'] = "http://${env?.REPO_NAME}_bk_${env?.CHANGE_ID}.docs-preview.app.elstc.co/diff"
data['emailRecipients'] = to
data['statsUrl'] = statsURL
data['es'] = es
Expand Down

0 comments on commit 546cf31

Please sign in to comment.