push long jenkins cli commands into functions