This is also known as "The Unfortunate Miss Bailey". The Burl Ives Songbook states it is a traditional tune from the sixteenth century but it is actually a tune credited to George Colman the elder (1732-1794) and George Colman the younger (1762-1836) in the younger's play Love Laughs at Locksmiths. The tune is related to "Ally Croker", a song by Larry Grogan, an Irish piper of the first half of the 18th century, traditionally credited with the composition about 1725. There is a single sheet copy of the song with music from about 1730. William Chappell, in Popular Music of the Olden Time, was unaware of the early single sheet issues of "Ally Croker" and attributed it to several other sources.
After the War of 1812 the tune was used for "The Hunters of Kentucky" by Samuel Woodward.
"Miss Bailey" has been recorded by Burl Ives, The Kingston Trio and others. I learned it from The Kingston Trio's recording.