It's The Song of the Lower Classes; a 19th. century Chartist poem by Ernest Jones. I haven't heard it sung to that tune, though; Martin Carthy set it to the hymn tune Otford and recorded it on "Out of the Cut" (1982), which is where I know it from.
Malcolm