You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UI.user_error!("branch_name is required for Instabug reporting")
17
+
end
18
+
19
+
begin
20
+
# Report build start to Instabug
21
+
Helper::InstabugStoresUploadHelper.report_status(
22
+
branch_name: branch_name,
23
+
api_key: instabug_api_key,
24
+
status: "inprogress",
25
+
step: "build_app"
26
+
)
27
+
28
+
# Execute the actual iOS build
29
+
result=Actions::BuildIosAppAction.run(params)
30
+
31
+
# Report build success to Instabug
32
+
Helper::InstabugStoresUploadHelper.report_status(
33
+
branch_name: branch_name,
34
+
api_key: instabug_api_key,
35
+
status: "success",
36
+
step: "build_app"
37
+
)
38
+
39
+
UI.success("iOS build completed successfully!")
40
+
result
41
+
rescue=>e
42
+
UI.error("iOS build failed: #{e.message}")
43
+
44
+
# Report build failure to Instabug
45
+
Helper::InstabugStoresUploadHelper.report_status(
46
+
branch_name: branch_name,
47
+
api_key: instabug_api_key,
48
+
status: "failure",
49
+
step: "build_app"
50
+
)
51
+
raisee
52
+
end
53
+
end
54
+
55
+
defself.description
56
+
"Build iOS app with Instabug metadata reporting"
57
+
end
58
+
59
+
defself.authors
60
+
["Instabug Company"]
61
+
end
62
+
63
+
defself.return_value
64
+
"Returns the result from build_ios_app action"
65
+
end
66
+
67
+
defself.details
68
+
"This action wraps the standard build_ios_app action and adds Instabug-specific metadata reporting. It tracks build events per branch and provides better observability for engineering teams."
0 commit comments