Karl Jones, aged 33, of no fixed address in Peterborough, had previously pleaded guilty to robbery and possession of a bladed article in connection with the incident, which occurred at Budgens in The Heights.
At court he was handed a five-year sentence for the robbery, plus six months for possession of a bladed article.