The song is in A Good Christmas Box, 1847. Husk in Songs of the Nativity, 1864, said he reprinted it from a broadside 'printed a century and a half since'. Broadside copies in Steve Roud's broadside index (Roud #514) seem to be considerably later than c 1715.