Frustration effects in triangular Josephson junction arrays