Strange how a little French or Jersey song about riding a donkey or horse and visiting towns along the Channel got turned into a chantey about foreign places. The link may be in the Quebec version of the chantey, but there could be earlier connections.
The term donkey engine and donkey man (boy) are fairly old, appearing in print in the 1850s. Donkey winch probably older.