PHOENIX -- Carlos Lee had a feeling Chris Capuano needed more than one run to work with. The Milwaukee cleanup hitter took it upon himself to provide it.
Lee and Geoff Jenkins hit back-to-back solo homers in the sixth inning, helping Capuano beat the Arizona Diamondbacks 3-1 Tuesday night to become the Brewers' first 17-game winner in 13 years.
"It was big at that point of the game," Lee said. "It was everything he needed. He was getting in some trouble early and pitching his way out of it. He's been big for us, you know?"
J.J. Hardy also drove in a run for the Brewers (72-72), who have won six of eight to reach .500 for the first time since Aug. 7.
"We're swinging the bats good now," Brewers manager Ned Yost said. "You know, we're getting good pitching, playing good defense and that's what's keeping us going."
Capuano (17-9) battled through seven innings despite taking a comebacker off his pitching arm and falling awkwardly going after another, and won for the fifth time in six starts to tie Houston's Roy Oswalt for third in the National League in wins. Jaime Navarro was the last Milwaukee pitcher to win 17 games in 1992.
"It seems like we've been scoring a lot of runs in my starts, and even when I haven't pitched well we've been able to find ways to win," Capuano said. "The win column is kind of arbitrary at times, so when you get lucky, you've just got to ride it out."
Capuano, a former Diamondbacks player traded as part of the 2003 deal that brought Richie Sexson to Arizona for a year, shut out his former team through five innings. Troy Glaus led off the sixth with his 35th homer -- tying a franchise record by homering in four straight games.
But Capuano pitched two more innings and left after allowing one run and five hits with four walks. He struck out seven, using a fastball that was still clocked at 95 mph in the sixth.
"You never like to get traded," he said. "It is nice to get a win against your old ballclub. It just feels good."
Justin Lehr pitched the eighth, and Derrick Turnbow worked a scoreless ninth for his 32nd save in 35 chances.
Lee lined his 31st homer into the left-field bullpen off Javier Vazquez, and Jenkins lofted his 22nd over the swimming pool in right-center on the next pitch.
It was the third time this season the Brewers have hit consecutive homers. The last time was on Aug. 2 at the New York Mets -- also by Lee and Jenkins.
Vazquez (10-15) retired six straight after the solo shots, finishing the seventh before Quentin McCracken pinch hit for him. He threw a season-high 121 pitches while dropping to 1-6 in his last nine starts, giving up three runs on seven hits and two walks.
"He pitched well enough to keep us in the game and give us a chance to win," Arizona manager Bob Melvin said. "We didn't come through on our opportunities."
Capuano had a runner on third with one out in two early innings and pitched out of trouble both times.
The left-hander walked two in the second, but got Kelly Stinnett to pop up and struck out Vazquez. He struck out Glaus and Conor Jackson for the last two outs of the third.
Arizona's Royce Clayton said Capuano wasn't throwing hard at first.
"We got under a few, and then he started elevating his fastball, changing speeds, and then he mixed it up," Clayton said. "I guess that's why he's successful."
The Brewers were up 1-0 by then. Damian Miller, another former Diamondbacks player, led off the third with a single, the first hit off Vazquez, and scored from second on Hardy's single to center.