Getting all head content from jenkins