jenkins template, cleaning unneeded files