Well, let me just say this. If she was with another man, would you still want to marry her? Because if that doesn't matter to you, the paternity of the baby shouldn't either. You can still be a father to this child if you really wanted to.
If it doesn't matter to you, maybe you shouldn't ask. Although I think you should know one way or another. I don't believe that relationships built on lies can last. But at the end of the day, donating the sperm does not make you a father. If you really want this baby to be yours, then paternity shouldn't stop you.
Good luck. I hope everything works out for you.