Skip to content

Commit 833ed8e

Browse files
Karan NagpalKaran Nagpal
authored andcommitted
exit code error
1 parent 9e06f24 commit 833ed8e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/helpers/buildArtifacts.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ exports.downloadBuildArtifacts = async (bsConfig, buildId, args) => {
193193
messageType = Constants.messageTypes.ERROR;
194194
message = Constants.userMessages.DOWNLOAD_BUILD_ARTIFACTS_FAILED.replace('<build-id>', buildId).replace('<machine-count>', BUILD_ARTIFACTS_FAIL_COUNT);
195195
logger.error(message);
196+
process.exitCode = Constants.ERROR_EXIT_CODE;
196197
} else {
197198
messageType = Constants.messageTypes.SUCCESS;
198199
message = Constants.userMessages.DOWNLOAD_BUILD_ARTIFACTS_SUCCESS.replace('<build-id>', buildId).replace('<user-path>', process.cwd());

0 commit comments

Comments
 (0)