[Jenkins] Make build as failed when generating bindings fails
Merge pull request #6023 from lmskater/fix-generator-bindings-fail

[Jenkins] Make build as failed when generating bindings fails