Unable to upload app

I get this error when I'm trying to upload an app with altool on Jenkins. When I do the same from the terminal (as the same user as Jenkins) it works perfectly. Any ideas what can be wrong?

Error Domain=ITunesSoftwareServiceErrorDomain Code=-20101 \"There is no DTAppAnalyzerExtractor executable defined.\" UserInfo={NSLocalizedDescription=There is no DTAppAnalyzerExtractor executable defined., NSLocalizedFailureReason=Unable to validate your application.}

Accepted Reply

The issue was caused by the environment variable. It appears that if you have the environment variable "TOOLS_PATH" upload process is failing.

Replies

The issue was caused by the environment variable. It appears that if you have the environment variable "TOOLS_PATH" upload process is failing.