The command is:
/opt/reyboz/android/bin/publish-latest-branch-build.sh ${buildable.revision}
Source code:
This step will copy the built .apk to an indexed HTTP directory exposed by Apache:
Passed |
The command is:
/opt/reyboz/android/bin/publish-latest-branch-build.sh ${buildable.revision}
Source code:
This step will copy the built .apk to an indexed HTTP directory exposed by Apache:
1 | PHP Warning: Use of undefined constant PHABRICATOR_API_TOKEN - assumed 'PHABRICATOR_API_TOKEN' (this will throw an Error in a future version of PHP) in /opt/reyboz/android/bin/phab-comment.php on line 38 |
---|---|
2 |
1 | Published here: |
---|---|
2 | https://lab.reyboz.it/builds/libre-busto/D112-libre-busto-unsigned.apk |
3 | Array |
4 | ( |
5 | [objectIdentifier] => D112 |
6 | [transactions] => Array |
7 | ( |
8 | [0] => Array |
9 | ( |
10 | [type] => comment |
11 | [value] => {icon cog spin} Be bop be bop. I'm a bot. Builded: |
12 | |
13 | → [[https://lab.reyboz.it/builds/libre-busto/D112-libre-busto-unsigned.apk|D112-libre-busto-unsigned.apk]] |
14 | ) |
15 | |
16 | ) |
17 | |
18 | ) |
19 | ERROR COMMENTING: ERR-INVALID-AUTH: API token "PHABRICATOR_API_TOKEN" has the wrong length. API tokens should be 32 characters long. |
20 |
Passed |
This step will build an .apk using Gradle.
sudo apt install openjdk-11-jre-headless
Then aliased this gradle:
https://gitlab.com/fdroid/fdroidserver/-/blob/master/gradlew-fdroid
5 | > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE |
---|---|
6 | > Task :app:compileDebugAidl NO-SOURCE |
7 | > Task :app:compileDebugRenderscript UP-TO-DATE |
8 | > Task :app:generateDebugBuildConfig UP-TO-DATE |
9 | > Task :app:checkDebugAarMetadata UP-TO-DATE |
10 | > Task :app:generateDebugResValues UP-TO-DATE |
11 | > Task :app:mapDebugSourceSetPaths UP-TO-DATE |
12 | > Task :app:generateDebugResources UP-TO-DATE |
13 | > Task :app:mergeDebugResources UP-TO-DATE |
14 | > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE |
15 | > Task :app:extractDeepLinksDebug UP-TO-DATE |
16 | > Task :app:processDebugMainManifest UP-TO-DATE |
17 | > Task :app:processDebugManifest UP-TO-DATE |
18 | > Task :app:processDebugManifestForPackage UP-TO-DATE |
19 | > Task :app:processDebugResources UP-TO-DATE |
20 | > Task :app:kaptGenerateStubsDebugKotlin UP-TO-DATE |
21 | > Task :app:kaptDebugKotlin UP-TO-DATE |
22 | > Task :app:compileDebugKotlin UP-TO-DATE |
23 | > Task :app:javaPreCompileDebug UP-TO-DATE |
24 | > Task :app:compileDebugJavaWithJavac UP-TO-DATE |
25 | > Task :app:mergeDebugShaders |
26 | > Task :app:compileDebugShaders NO-SOURCE |
27 | > Task :app:generateDebugAssets UP-TO-DATE |
28 | > Task :app:mergeDebugAssets |
29 | > Task :app:processDebugJavaRes |
30 | > Task :app:compressDebugAssets |
31 | > Task :app:checkDebugDuplicateClasses |
32 | > Task :app:desugarDebugFileDependencies |
33 | > Task :app:mergeDebugJavaResource |
34 | > Task :app:dexBuilderDebug |
35 | > Task :app:mergeDebugJniLibFolders |
36 | > Task :app:mergeDebugNativeLibs NO-SOURCE |
37 | > Task :app:stripDebugDebugSymbols NO-SOURCE |
38 | > Task :app:validateSigningDebug |
39 | > Task :app:writeDebugAppMetadata |
40 | > Task :app:writeDebugSigningConfigVersions |
41 | > Task :app:mergeDexDebug |
42 | > Task :app:packageDebug |
43 | > Task :app:createDebugApkListingFileRedirect |
44 | > Task :app:assembleDebug |
45 | |
46 | Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0. |
47 | |
48 | You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. |
49 | |
50 | See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings |
51 | |
52 | BUILD SUCCESSFUL in 1m 3s |
53 | 32 actionable tasks: 15 executed, 17 up-to-date |
54 |
Passed |
1 | Note: Some input files use or override a deprecated API. |
---|---|
2 | Note: Recompile with -Xlint:deprecation for details. |
3 |
19 | Setting the namespace via a source AndroidManifest.xml's package attribute is deprecated. |
---|---|
20 | Please instead set the namespace (or testNamespace) in the module's build.gradle file, as described here: https://developer.android.com/studio/build/configure-app-module#set-namespace |
21 | This migration can be done automatically using the AGP Upgrade Assistant, please refer to https://developer.android.com/studio/build/agp-upgrade-assistant for more information. |
22 | /var/drydock/workingcopy-79/repo/libre-busto/app/src/debug/AndroidManifest.xml:39:9-45:51 Warning: |
23 | provider#org.acra.attachment.AcraContentProvider@android:authorities was tagged at AndroidManifest.xml:39 to replace other declarations but no other declaration present |
24 | |
25 | > Task :app:processDebugManifest |
26 | > Task :app:preDebugAndroidTestBuild SKIPPED |
27 | > Task :app:javaPreCompileDebug |
28 | > Task :app:processDebugAndroidTestManifest |
29 | > Task :app:compileDebugAndroidTestRenderscript NO-SOURCE |
30 | > Task :app:extractProguardFiles |
31 | > Task :app:generateDebugAndroidTestResValues |
32 | > Task :app:processDebugManifestForPackage |
33 | > Task :app:mergeDebugResources |
34 | > Task :app:processDebugResources |
35 | > Task :app:kaptGenerateStubsDebugKotlin |
36 | |
37 | > Task :app:kaptDebugKotlin |
38 | /var/drydock/workingcopy-79/repo/libre-busto/app/build/tmp/kapt3/stubs/debug/it/reyboz/bustorino/data/gtfs/GtfsAgency.java:26: warning: Primary key constraint on gtfsId is ignored when being merged into it.reyboz.bustorino.data.gtfs.GtfsAgency |
39 | private it.reyboz.bustorino.data.gtfs.GtfsFeed feed; |
40 | ^ |
41 | /var/drydock/workingcopy-79/repo/libre-busto/app/build/tmp/kapt3/stubs/debug/it/reyboz/bustorino/data/gtfs/MatoPattern.java:7: warning: pattern_route_id column references a foreign key but it is not part of an index. This may trigger full table scans whenever parent table is modified so you are highly advised to create an index that covers this column. |
42 | public final class MatoPattern implements it.reyboz.bustorino.data.gtfs.GtfsTable { |
43 | ^ |
44 | |
45 | > Task :app:compileDebugKotlin |
46 | |
47 | > Task :app:compileDebugJavaWithJavac |
48 | |
49 | > Task :app:bundleDebugClassesToCompileJar |
50 | > Task :app:lintAnalyzeDebug |
51 | |
52 | Daemon will be stopped at the end of the build after running out of JVM memory |
53 | |
54 | > Task :app:lintReportDebug |
55 | Wrote HTML report to file:///var/drydock/workingcopy-79/repo/libre-busto/app/build/reports/lint-results-debug.html |
56 | |
57 | > Task :app:lintDebug |
58 | > Task :app:lint |
59 | |
60 | Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0. |
61 | |
62 | You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. |
63 | |
64 | See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings |
65 | |
66 | BUILD SUCCESSFUL in 2m 59s |
67 | 24 actionable tasks: 24 executed |
68 |
Passed |
Clean Gradle directory to avoid nasty errors like:
1 | Found 7.4 via distributionUrl |
---|---|
2 | Running /home/phabricator-android-builder/versions/7.4/bin/gradle clean |
3 | > Task :app:clean |
4 | |
5 | Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0. |
6 | |
7 | You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. |
8 | |
9 | See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings |
10 | |
11 | BUILD SUCCESSFUL in 2s |
12 | 1 actionable task: 1 executed |
13 |
Passed |
Passed |