HiIt is Scottish.
The only thing written about it in my "Songs of Scotland" book is that the text first appeared in 1724, in the first volume of Allan Ramsay's "Tea-table Miscellany,". In 1733 it appeared with text and tune in William Thompson's "Orpheus Caledonius."
Good luck with the project, hope this helps.
Slainte
Alison