NMS-7260 ignore exit code if asked to
don't build the tarball when the smoke test profile is active
[bamboo] Automated branch merge (from 1.12:4cd9872b548a56cb5632d131e7864f8eb44e4da5)
[bamboo] Automated branch merge (from foundation:5c830bfb4c0bad31254a94b144058546e11f2161)