replace build.jenkins with a script using master cmake