Some optimization for jenkins