The text posted there has modernised spelling and no source is named; nor is it complete. The song appears in D'Urfey's Pills to Purge Melancholy (1719), and on broadsides of the late 17th century (one licensed by R[ichard] P[ocock], and therefore between the end of 1685 and late 1688); set to an older tune, The Friar and the Nun, as Bruce Olson mentioned in the Misty Moisty Morning discussion(s) here. The shortened form recorded by Steeleye Span is in the DT.