I need to configure Jenkins 2 to build all tags and branches available in the origin git repository with a certain frequency, even when they didn't have any modifications. To make it complete, I would like it to also delete local build of branches that do not exist in the origin anymore.
With my current configuration, I am able to build branches but only when changes are detected, which causes some important branches that don't get modification so often to not be built yet. Tags aren't build but it would be a powerful tool to have them built as well.
I found the Multi-Branch Project Plugin which seems to be able to to almost everything I need to but it is incompatible with Jenkins 2.