Here's a link to the words and music in the book Steve referenced above Captain Jinks (Chapple, Heart Songs, 1909)
And as he also suggested, a copy of the sheet music is available at Levy: Captain Jinks (Wittig & co, Philadelphia, 1868), which you can look at or download as pdf.
Mick