mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-29 13:36:27 -05:00
ci - improve log message on failure (#254460)
This commit is contained in:
@@ -46,13 +46,30 @@ mocha.run(failures => {
|
||||
const rootPath = join(__dirname, '..', '..', '..');
|
||||
const logPath = join(rootPath, '.build', 'logs');
|
||||
|
||||
if (process.env.BUILD_ARTIFACTSTAGINGDIRECTORY || process.env.GITHUB_WORKSPACE) {
|
||||
if (process.env.BUILD_ARTIFACTSTAGINGDIRECTORY) {
|
||||
console.log(`
|
||||
###################################################################
|
||||
# #
|
||||
# Logs are attached as build artefact and can be downloaded #
|
||||
# from the build Summary page (Summary -> Related -> N published) #
|
||||
# #
|
||||
# Please also scan through attached crash logs in case the #
|
||||
# failure was caused by a native crash. #
|
||||
# #
|
||||
# Show playwright traces on: https://trace.playwright.dev/ #
|
||||
# #
|
||||
###################################################################
|
||||
`);
|
||||
} else if (process.env.GITHUB_WORKSPACE) {
|
||||
console.log(`
|
||||
###################################################################
|
||||
# #
|
||||
# Logs are attached as build artefact and can be downloaded #
|
||||
# from the build Summary page (Summary -> Artifacts) #
|
||||
# #
|
||||
# Please also scan through attached crash logs in case the #
|
||||
# failure was caused by a native crash. #
|
||||
# #
|
||||
# Show playwright traces on: https://trace.playwright.dev/ #
|
||||
# #
|
||||
###################################################################
|
||||
|
||||
Reference in New Issue
Block a user