implement freemarker template engine service
fix template for ci, snapshot and release jenkins jobs