To make sure your build doesn't break in Jenkins, you should open the console output for the build and see if any file changes were missed during creating the project. If no issues are found, then you should clean and update the local workspace to replicate the issue on the local machine, and try to solve it. To make sure it is not broken, you need to perform a successful clean install on the local machine with all unit tests. This way you can make certain that all code changes are checked in without any problems. After this, you need to synchronize with a repository to make sure that all the required config and changes are checked into the repository.