Run jenkins promote

this is BT-492

this PR adds the jenkins promote job, generalizes the ciManagement function and tests for everything.  See ticket for  review criteria.