Added jenkins build detection to build