Source code:
https://gitpull.it/source/libre-busto-ci-cd/browse/master/bin/publish-latest-branch-build.sh
(ex P23)
This step will copy the built .apk to an indexed HTTP directory exposed by Apache, signing them:
| Failed |
Source code:
https://gitpull.it/source/libre-busto-ci-cd/browse/master/bin/publish-latest-branch-build.sh
(ex P23)
This step will copy the built .apk to an indexed HTTP directory exposed by Apache, signing them:
| 1 | [2026-04-30 18:07:04] EXCEPTION: (Exception) Invalid Differential numeric ID: 0 at [/opt/libre-busto-ci-cd/bin/publish-latest-branch-build.php:52] |
|---|---|
| 2 | arcanist(head=master, ref.master=8fd7a39d741b) |
| 3 |
| Passed |
This step will build an .apk using Gradle using this fantastic Docker image:
https://gitlab.com/fabmazz/android-fdroid-build-container/-/tree/ubuntu
Source code of this build step:
https://gitpull.it/source/libre-busto-ci-cd/browse/master/bin/fdroid-docker-builder.sh
TODO: Use the official image by Fabio Mazza, when the "DESIRED_UID" / "DESIRED_GID" features will be merged.
| 1 | + docker run -e DESIRED_UID=1004 -e DESIRED_GID=1004 --rm -v /var/drydock/workingcopy-79/repo/libre-busto:/home/vagrant/appbuild:Z fdroid-asder launch_build_local -Dorg.gradle.jvmargs=-Xmx2g --stacktrace assembleGitpull |
|---|---|
| 2 | Note: Some input files use or override a deprecated API. |
| 3 | Note: Recompile with -Xlint:deprecation for details. |
| 4 | /home/vagrant/appbuild/app/src/gitpull/AndroidManifest.xml:4: Error: Mock locations should only be requested in a test or debug-specific manifest file (typically src/debug/AndroidManifest.xml) [MockLocation] |
| 5 | <uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION"/> |
| 6 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 7 | |
| 8 | Explanation for issues of type "MockLocation": |
| 9 | Using a mock location provider (by requiring the permission |
| 10 | android.permission.ACCESS_MOCK_LOCATION) should only be done in debug |
| 11 | builds (or from tests). In Gradle projects, that means you should only |
| 12 | request this permission in a test or debug source set specific manifest |
| 13 | file. |
| 14 | |
| 15 | To fix this, create a new manifest file in the debug folder and move the |
| 16 | <uses-permission> element there. A typical path to a debug manifest |
| 17 | override file in a Gradle project is src/debug/AndroidManifest.xml. |
| 18 | |
| 19 | 1 error |
| 20 | |
| 21 |
| 146 | > Task :app:processGitpullJavaRes |
|---|---|
| 147 | > Task :app:mergeGitpullJavaResource |
| 148 | > Task :app:lintVitalAnalyzeGitpull |
| 149 | > Task :app:l8DexDesugarLibGitpull |
| 150 | > Task :app:compileGitpullArtProfile |
| 151 | > Task :app:lintVitalReportGitpull |
| 152 | |
| 153 | > Task :app:lintVitalGitpull |
| 154 | |
| 155 | > Task :app:packageGitpull |
| 156 | > Task :app:createGitpullApkListingFileRedirect |
| 157 | > Task :app:assembleGitpull |
| 158 | |
| 159 | [Incubating] Problems report is available at: file:///home/vagrant/appbuild/build/reports/problems/problems-report.html |
| 160 | |
| 161 | Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. |
| 162 | |
| 163 | You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. |
| 164 | |
| 165 | For more on this, please refer to https://docs.gradle.org/8.13/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. |
| 166 | |
| 167 | BUILD SUCCESSFUL in 4m 34s |
| 168 | 58 actionable tasks: 58 executed |
| 169 | ==> Build completed |
| 170 |
| Passed |
| Passed |