Added getopt and an ignore list to the jenkins script.