mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-24 13:58:12 -05:00
fix
This commit is contained in:
@@ -1748,7 +1748,6 @@ def uploadTracingResult(ctx):
|
||||
status = ["failure"]
|
||||
if "with-tracing" in ctx.build.title.lower():
|
||||
status = ["failure", "success"]
|
||||
S3_HOST = s3.ci.opencloud.eu
|
||||
|
||||
return [{
|
||||
"name": "upload-tracing-result",
|
||||
@@ -1759,7 +1758,7 @@ def uploadTracingResult(ctx):
|
||||
"mc cp -a %s/reports/e2e/playwright/tracing/* s3/$PUBLIC_BUCKET/web/tracing/$CI_REPO_NAME/$CI_PIPELINE_NUMBER/" % dirs["web"],
|
||||
"cd %s/reports/e2e/playwright/tracing/" % dirs["web"],
|
||||
'echo "To see the trace, please open the following link in the console"',
|
||||
'for f in *.zip; do echo "npx playwright show-trace https://"$S3_HOST"/$PUBLIC_BUCKET/web/tracing/$CI_REPO_NAME/$CI_PIPELINE_NUMBER/$f \n"; done',
|
||||
'for f in *.zip; do echo "npx playwright show-trace https://$MC_HOST/$PUBLIC_BUCKET/web/tracing/$CI_REPO_NAME/$CI_PIPELINE_NUMBER/$f \n"; done',
|
||||
],
|
||||
"when": {
|
||||
"status": status,
|
||||
|
||||
Reference in New Issue
Block a user