Test more error paths on jenkins.Artifacts