-
Notifications
You must be signed in to change notification settings - Fork 25k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[buildkite] Upload build artifact and add to build scan #100842
[buildkite] Upload build artifact and add to build scan #100842
Conversation
brianseeders
commented
Oct 13, 2023
•
edited
Loading
edited
- Upload build artifact to Buildkite.
- Link to the artifacts from the buildscan
- Add a couple of extra buildscan values
Pinging @elastic/es-delivery (Team:Delivery) |
build-tools-internal/src/main/groovy/elasticsearch.build-complete.gradle
Show resolved
Hide resolved
@@ -101,7 +101,8 @@ buildScan { | |||
tag 'CI' | |||
link 'CI Build', buildKiteUrl | |||
value 'Job Number', System.getenv('BUILDKITE_BUILD_NUMBER') | |||
|
|||
value 'Pipeline', System.getenv('BUILDKITE_PIPELINE_SLUG') | |||
value 'Job Name', System.getenv('BUILDKITE_LABEL') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should think about sanitizing the label to produce a "slug like" value that's easier to search on. Also stripping out things like emojis (we use them in serverless).
@@ -101,7 +101,8 @@ buildScan { | |||
tag 'CI' | |||
link 'CI Build', buildKiteUrl | |||
value 'Job Number', System.getenv('BUILDKITE_BUILD_NUMBER') | |||
|
|||
value 'Pipeline', System.getenv('BUILDKITE_PIPELINE_SLUG') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add these as tags too? We do that for Jenkins.
(cherry picked from commit 17ef0af)
(cherry picked from commit 17ef0af)
(cherry picked from commit 17ef0af) # Conflicts: # build-tools-internal/src/main/groovy/elasticsearch.build-complete.gradle
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |