Jenkins setup

Updated build to work with emma and everything.