Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsaw-jan <saw.jan.grg3e@gmail.com>2022-03-25 12:48:36 +0300
committerSawjan Gurung <saw.jan.grg3e@gmail.com>2022-03-31 09:12:51 +0300
commit6a106b86246548a78f7842e51ec445c01b8edf17 (patch)
tree18fcc8d87c04c1c636e70ee72f86c0715fa69b52 /.drone.star
parent06f70b0d53f318b396555f39e5e23ac653cb74c2 (diff)
save stacktrace of AUT crash to a file
move to helper file
Diffstat (limited to '.drone.star')
-rw-r--r--.drone.star15
1 files changed, 15 insertions, 0 deletions
diff --git a/.drone.star b/.drone.star
index 055abc8d3..e1a82ba1b 100644
--- a/.drone.star
+++ b/.drone.star
@@ -6,6 +6,7 @@
#
DEFAULT_PHP_VERSION = "7.4"
+STACKTRACE_FILE = "%s/stacktrace" % GUI_TEST_REPORT_DIR
GUI_TEST_DIR = "/drone/src/test/gui"
GUI_TEST_REPORT_DIR = "/drone/src/test/guiReportUpload"
NOTIFICATION_TEMPLATE_DIR = "/drone/src"
@@ -251,6 +252,19 @@ def gui_tests(ctx, trigger = {}, depends_on = [], filterTags = [], version = "da
"SECURE_BACKEND_HOST": "https://owncloud/",
"SERVER_INI": "/drone/src/test/gui/drone/server.ini",
"SQUISH_PARAMETERS": squish_parameters,
+ "STACKTRACE_FILE": STACKTRACE_FILE,
+ },
+ },
+ {
+ "name": "stacktrace",
+ "image": "owncloudci/alpine:latest",
+ "commands": [
+ "cat %s" % STACKTRACE_FILE,
+ ],
+ "when": {
+ "status": [
+ "failure",
+ ],
},
},
] +
@@ -562,6 +576,7 @@ def setGuiTestReportDir():
"image": OC_UBUNTU,
"commands": [
"mkdir %s/screenshots -p" % GUI_TEST_REPORT_DIR,
+ "touch %s/coredumps" % GUI_TEST_REPORT_DIR,
"chmod 777 %s -R" % GUI_TEST_REPORT_DIR,
],
}]