Jenkins plugin for running builds with fdroidserver

Anyone know how hard it would be to write a Jenkins plugin that can integrate an fdroiddata.git repo with Jenkins? The idea would be that you point Jenkins at a git repo with fdroid build metadata, then the plugin would generate a Jenkins “job” for each app in the repo, then handle triggering all the individual builds.

The current fdroid build model puts each app’s source repo in the build/ subdirectory of fdroiddata.git. So Jenkins could easily use that as the “workspace” for each app, and automatically track the git repo.

@uniqx this is the idea I mentioned.