Adrian Gonzalez hit his first homer of the season and Kenley Jansen had a five-out save as the Los Angeles Dodgers beat the Diamondbacks on Wednesday.