Glasgow (6) 13
Try: Jackson Con: Gregor Pens: Gregor 2
Dragons (7) 10
Try: Willis Con: Arlidge Pen: Connor
Wayne Evans hauls back Glasgow's Opeta Palepoi at Firihill
Glasgow finished their Heineken Cup campaign with a hard-fought win over Newport Gwent Dragons at Firhill.
Home scrum-half Colin Gregor opened the scoring with a penalty after five minutes, adding a second in the 10th.
The visitors hit back with a try by Tom Willis in the 35th minute, converted James Arlidge.
Ruaridh Jackson went over after 46 minutes, Gregor converting. Dragons' replacement Shaun Connor kicked a 74th-minute penalty.
While the Warriors' display was never likely to emulate their heroics in Toulouse the previous weekend, they produced a gritty and streetwise display to avoid the group wooden spoon.
They had the better of the jittery opening exchanges, with Gregor missing a long-range penalty after less than a minute.
His luck changed almost immediately when he found the target from 35 metres in the wake of a high challenge on stand-off Ruaridh Jackson.
Gregor jumped back into the limelight in the 10th minute to repeat the dose after the Dragons killed the ball at a ruck.
Between times, James Arlidge had two opportunities to break his side's duck, but on both occasions he sent his efforts wide.
Glasgow continued to have the bulk of possession and territory - only to find themselves adrift four minutes before the interval.
Arlidge and Tal Selley combined to take the ball into the danger zone, where a brilliant Max Evans tackle halted Ashley Smith.
Dragons were awarded a penalty and their decision to run instead of going for three points paid off as hooker Tom Willis slid over in the corner.
Arlidge's conversion was from the widest possible angle, however he atoned for his earlier misses with an accurate strike.
To add to the Warriors' worries, Gregor squandered his next pot at goal, while Palepoi and Justin Va'a both let the ball slip from their grasp to spoil promising raids.
It was a different picture after the restart as Glasgow snatched back the initiative with a superb try - started and finished by Jackson.
He sparked panic stations among the Dragons back-ranks with a deft chip which was then hacked on by Thom Evans.
And following two scrums close to the line, Bernie Stortoni entered the line to create the time and space for Jackson to streak over.
Gregor added the extras from a wide angle to inject further confidence.
But instead of building on their lead, Glasgow grew careless again and were pinned back in their own half for long periods - although during this sequence the Welshmen did not look likely to burst through.
However, a tense finale was ensured as Shaun Connor slotted a penalty six minutes from time to narrow the gap to three.
Glasgow boss Sean Lineen:
"This was a completely different experience to last week in Toulouse for us.
"When you are facing a team who don't want to play and a French referee, it can make it very difficult.
"We struggled to get any clean ball - but then they were lying all over it.
"Some of our skill levels were amateurish and the decision-making was poor.
"But at the end of the day we got the win, which was brilliant. We just couldn't put them away."
Glasgow: Stortoni, Nunez Piossek, M Evans, Morrison, T Evans, Jackson, Gregor, Va'a, Hall, Low, Turner, Palepoi, Forrester, Brown, Beattie.
Replacements: O'Hare for Nunez Piossek (55), McMillan for Gregor (63), Kalman for Va'a (73), Vernon for Palepoi (63), Swindall for Forrester (59).
Not Used: Milligan, Shaw.
Newport-Gwent Dragons: Tovey, Wyatt, Gomer-Davies, Smith, Selley, Arlidge, W Evans, Black, Willis, R Thomas, A. Jones, A Hall, MacDonald, Lydiate, L Evans.
Replacements: Maule for Selley (61), Connor for Arlidge (53), R Lewis for W Evans (68), Ringer for MacDonald (51), Webb for L Evans (40).
Not Used: Goodfield, Robinson.
Ref: Jerome Garces (France).