extracted jenkins job script code into build.bat