Portugal coach Jorge Jesus says he "found out when we all did" about Cristiano Ronaldo's retirement from international football.