We present stereoscopic observations of six sequential eruptions of a filament in the active region NOAA 11045 on 2010 Feb 8, with the advantage of the STEREO twin viewpoints in combination with Earth's viewpoint from SOHO instruments and ground-based telescopes. The last one of the six eruptions is a coronal mass ejection, but the others are not. The flare in this successful one is more intense than in the others. Moreover, the velocity of filament material in the successful one is also the largest among them. Interestingly, all the filament velocities are found to be proportional to the power of their flares. We calculate magnetic field intensity at low altitude, the decay indexes of the external field above the filament, and the asymmetry properties of the overlying fields before and after the failed eruptions and find little difference between them, indicating the same coronal confinement exists for both the failed and successful eruptions. The results suggest that, besides the confinement of the coronal magnetic field, the energy released in the low corona should be another crucial element affecting a failed or successful filament eruption. That is, a coronal mass ejection can only be launched if the energy released exceeds some critical value, given the same initial coronal conditions.