A federal judge Friday sentenced baseball slugger Barry Bonds to probation, 30 days' confinement in his Beverly Hills home and community service, but put the sentence on hold pending Bonds' appeal of his felony obstruction of justice conviction.