File tree 5 files changed +16
-20
lines changed
5 files changed +16
-20
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ pipeline {
63
63
}
64
64
post {
65
65
failure {
66
- archiveArtifacts ' ios/ logs/*'
66
+ archiveArtifacts ' logs/*'
67
67
}
68
68
}
69
69
}
Original file line number Diff line number Diff line change 1
1
# This file contains the fastlane.tools configuration
2
+
2
3
# You can find the documentation at https://docs.fastlane.tools
3
4
#
4
5
# For a list of all available actions, check out
96
97
# if false - read list of devices from AppStoreConnect, and upgrade the provisioning profiles from it
97
98
# `pr_build`:
98
99
# if true - uses StatusImPR scheme and postfixed app id with `.pr` to build an app, which can be used in parallel with release
99
- # if false - uses StatusIm scheme to build the release app
100
+ # if false - uses StatusIm scheme to build the release app
100
101
101
102
def build_ios_adhoc ( readonly : false , pr_build : false )
102
103
# PR builds should appear as a separate App on iOS
@@ -123,7 +124,7 @@ def build_ios_adhoc(readonly: false, pr_build: false)
123
124
export_method : 'ad-hoc' ,
124
125
output_name : 'StatusIm' ,
125
126
output_directory : 'status-ios' ,
126
- buildlog_path : 'ios/ logs' ,
127
+ buildlog_path : 'logs' ,
127
128
export_options : {
128
129
signingStyle : 'manual' ,
129
130
provisioningProfiles : {
Original file line number Diff line number Diff line change 542
542
);
543
543
runOnlyForDeploymentPostprocessing = 0;
544
544
shellPath = "/usr/bin/env sh";
545
- shellScript = "set -o errexit\nexport NODE_BINARY=\"${NODE_BINARY:-node}\"\nexport NODE_ARGS=\"${NODE_ARGS:- --max-old-space-size=16384 }\"\n\nbash -x ../node_modules/react-native/scripts/react-native-xcode.sh > ./logs/react-native-xcode.log 2>&1";
545
+ shellScript = "set -o errexit\nexport NODE_BINARY=\"${NODE_BINARY:-node}\"\nexport NODE_ARGS=\"${NODE_ARGS:- --max-old-space-size=16384 }\"\n\nbash -x ../node_modules/react-native/scripts/react-native-xcode.sh > .. /logs/react-native-xcode.log 2>&1";
546
546
};
547
547
28606042DA81A750949525E4 /* [CP] Copy Pods Resources */ = {
548
548
isa = PBXShellScriptBuildPhase;
578
578
);
579
579
runOnlyForDeploymentPostprocessing = 0;
580
580
shellPath = "/usr/bin/env sh";
581
- shellScript = "set -o errexit\nexport NODE_BINARY=\"${NODE_BINARY:-node}\"\nexport NODE_ARGS=\"${NODE_ARGS:- --max-old-space-size=16384 }\"\n\nbash -x ../node_modules/react-native/scripts/react-native-xcode.sh > ./logs/react-native-xcode.log 2>&1";
581
+ shellScript = "set -o errexit\nexport NODE_BINARY=\"${NODE_BINARY:-node}\"\nexport NODE_ARGS=\"${NODE_ARGS:- --max-old-space-size=16384 }\"\n\nbash -x ../node_modules/react-native/scripts/react-native-xcode.sh > .. /logs/react-native-xcode.log 2>&1";
582
582
};
583
583
3AAD2AD724A3A60E0075D594 /* Run Script */ = {
584
584
isa = PBXShellScriptBuildPhase;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# Description
2
2
3
- This directory is the destination of logs created during build time of debug builds.
3
+ This directory is the destination of logs created during build time of debug builds and logs created by Fastlane on CI .
4
4
5
5
# Logs
6
6
@@ -16,3 +16,12 @@ This directory is the destination of logs created during build time of debug bui
16
16
- Created by redirecting output of ` adb shell monkey -p im.status.ethereum.debug 1 > ` .
17
17
* ` ios_simulators_list.log ` - Output from ` status-mobile/scripts/run-ios.sh ` .
18
18
- Created by redirecting output of ` xcrun simctl list devices -j ` .
19
+
20
+ # CI
21
+
22
+ These log files are uploaded to Jenkins as CI job artifacts on failure using ` archiveArtifacts ` .
23
+
24
+ * ` react-native-xcode.log ` - Output from ` node_modules/react-native/scripts/react-native-xcode.sh ` .
25
+ - Created by redirecting output of ` shellScript ` in ` ios/StatusIm.xcodeproj/project.pbxproj ` .
26
+ * `Status PR-StatusImPR.log - Created by [ Fastlane Gym] ( https://docs.fastlane.tools/actions/gym/ ) .
27
+ - Configred via [ ` Fastfile ` ] ( ../Fastfile ) using ` buildlog_path ` argument for ` build_ios_app ` .
You can’t perform that action at this time.
0 commit comments