Improve jenkins

This PR is not full tested, so please don't merge it.