Install thrift compiler before build

2 jobs for sunye-g-master-patch-10999 in 43 seconds (queued for 5 seconds)
Name Stage Failure
build Build
21888 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
21888 [ERROR]
21889 [ERROR] For more information about the errors and possible solutions, please read the following articles:
21889 [ERROR] [Help 1]
21890 [ERROR]
21890 [ERROR] After correcting the problems, you can resume the build with the command
21891 [ERROR] mvn <goals> -rf :gtd-server-thrift
Cleaning up file based variables
ERROR: Job failed: exit code 1