fix compress common src dir and pause bat job when work is failed