We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 238da30 commit 01a2181Copy full SHA for 01a2181
ci/app/after_test
@@ -1,4 +1,4 @@
1
-#!/bin/bash
+#!/bin/sh
2
3
mount_path=$1
4
task=$2
@@ -17,5 +17,9 @@ fi
17
run_id=$(echo $task | jq -r ".run_id")
18
task_id=$(echo $task | jq -r ".id")
19
20
-mkdir -p $mount_path/$run_id/$task_id
21
-cp $recording_path $mount_path/$run_id/$task_id/
+target_folder=$(echo $task | jq -r ".settings.classifier.identifier")
+
22
+target_folder=$(echo $target_folder | rev | cut -d'.' -f2-7 | rev)
23
24
+mkdir -p $mount_path/$run_id/$target_folder
25
+cp $recording_path $mount_path/$run_id/$target_folder/
0 commit comments