-
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
[ci] Attach correct build artifact link to build scan when multiple are uploaded #105530
[ci] Attach correct build artifact link to build scan when multiple are uploaded #105530
Conversation
Pinging @elastic/es-delivery (Team:Delivery) |
String[] partsB = b.split(" "); | ||
// ISO-8601 timestamps can be sorted lexicographically | ||
return partsA[1].compareTo(partsB[1]); | ||
}).toList(); |
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.
nit: I think we can simplify this somewhat by sorting in reverse order and calling findFirst()
instead of toList()
since we only care about the most recent one.
…re uploaded (elastic#105530) (cherry picked from commit e568f70)
…re uploaded (elastic#105530) (cherry picked from commit e568f70)
💔 Some backports could not be created
Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
Some jobs upload multiple artifacts, which messes up the link that gets attached to the build scan (because all of the artifact IDs get appended together).