add function help get list of changed dir

to paste the output to jenkins test