Miltary "cadences," used mostly in training, are unofficially known as "jodies." Do a google search and you'll find plenty. The practice seems to have developed in the latter part of World War II, very probably among (segregated) black units.
Most of the cadences go to one monotonous tune. The more songlike go to simple, familiar melodies like "Sipping Cider througha Straw."