Try to resolve Jenkins build errors due to directories