added jenkins script but fails to build on macbook