Continuous Ionic: Automated Builds with Jenkins?

I’ve been doing some research and can’t find a basic guide on how to setup Ionic apps to build automatically with Jenkins. Does anyone in the community have some sample scripts or a step by step guide that they can reference?