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
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 |
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 |