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 | Published here: |
---|---|
2 | https://lab.reyboz.it/builds/libre-busto/D116-libre-busto-unsigned.apk |
3 |
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
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:mergeDebugJavaResource |
33 | > Task :app:desugarDebugFileDependencies |
34 | > Task :app:dexBuilderDebug |
35 | > Task :app:mergeDexDebug |
36 | > Task :app:mergeDebugJniLibFolders |
37 | > Task :app:mergeDebugNativeLibs NO-SOURCE |
38 | > Task :app:stripDebugDebugSymbols NO-SOURCE |
39 | > Task :app:validateSigningDebug |
40 | > Task :app:writeDebugAppMetadata |
41 | > Task :app:writeDebugSigningConfigVersions |
42 | > Task :app:packageDebug |
43 | > Task :app:createDebugApkListingFileRedirect |
44 | > Task :app:assembleDebug |
45 | |
46 | BUILD SUCCESSFUL in 1m 51s |
47 | 32 actionable tasks: 15 executed, 17 up-to-date |
48 |
Passed |
1 | Note: Some input files use or override a deprecated API. |
---|---|
2 | Note: Recompile with -Xlint:deprecation for details. |
3 |
37 | > Task :app:kaptDebugKotlin |
---|---|
38 | /var/drydock/workingcopy-112/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 | |
42 | > Task :app:compileDebugKotlin |
43 | w: /var/drydock/workingcopy-112/repo/libre-busto/app/src/it/reyboz/bustorino/map/BusInfoWindow.kt: (41, 36): Parameter 'view' is never used, could be renamed to _ |
44 | w: /var/drydock/workingcopy-112/repo/libre-busto/app/src/it/reyboz/bustorino/map/BusInfoWindow.kt: (41, 42): Parameter 'motionEvent' is never used, could be renamed to _ |
45 | |
46 | > Task :app:compileDebugJavaWithJavac |
47 | |
48 | > Task :app:bundleDebugClassesToCompileJar |
49 | > Task :app:lintAnalyzeDebug |
50 | |
51 | Daemon will be stopped at the end of the build after running out of JVM memory |
52 | |
53 | > Task :app:lintReportDebug |
54 | Wrote HTML report to file:///var/drydock/workingcopy-112/repo/libre-busto/app/build/reports/lint-results-debug.html |
55 | |
56 | > Task :app:lintDebug |
57 | > Task :app:lint |
58 | |
59 | BUILD SUCCESSFUL in 3m 24s |
60 | 24 actionable tasks: 24 executed |
61 |
Passed |
Clean Gradle directory to avoid nasty errors like:
1 | Found 7.5.1 via distributionUrl |
---|---|
2 | Downloading missing gradle version 7.5.1 |
3 | cachedir |
4 | /tmp/tmp.weyhPjnZE6/gradle-7.5.1-bin.zip: OK |
5 | Running /home/phabricator-android-builder/versions/7.5.1/bin/gradle clean |
6 | |
7 | Welcome to Gradle 7.5.1! |
8 | |
9 | Here are the highlights of this release: |
10 | - Support for Java 18 |
11 | - Support for building with Groovy 4 |
12 | - Much more responsive continuous builds |
13 | - Improved diagnostics for dependency resolution |
14 | |
15 | For more details see https://docs.gradle.org/7.5.1/release-notes.html |
16 | |
17 | Starting a Gradle Daemon (subsequent builds will be faster) |
18 | > Task :app:clean |
19 | |
20 | BUILD SUCCESSFUL in 54s |
21 | 1 actionable task: 1 executed |
22 |
Passed |
Passed |