If your Team Foundation command line binary exists outside your PATH, specify the absolute path to the executable. If you just specify "tf", Hudson will try to find tf from the PATH.