The build script is always returning success
The outcome of the build process is returned here:
As it is right now always returns 0, meaning the build is always successful.
The build need to know whether the compilation is correct or not and to escalate the outcome all the way to the main script, i.e. .jenkins.sh