{ "id": "106809", "key": "ALOY-436", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [ { "id": "14770", "description": "Alloy 0.3.4", "name": "Alloy 0.3.4", "archived": false, "released": true, "releaseDate": "2012-12-14" }, { "id": "14790", "description": "2012 Sprint 26", "name": "2012 Sprint 26", "archived": true, "released": true, "releaseDate": "2012-12-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-12-19T23:49:52.000+0000", "created": "2012-12-19T19:06:57.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-03-07T22:25:57.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "12332", "name": "Titanium SDK", "description": "Any integration or issues with the TiSDK" } ], "description": "In versions of Titanium prior to 3.0, using the old CLI, when an alloy compilation failed, the build was aborted, as is expected. The new CLI and its hook system, though, don't properly recognize the failure of alloy compilations. This is due mainly to the fact that the new CLI hook requires the direct execution of a script within alloy for compilation, rather than just calling the alloy command.\r\n\r\nThe new CLI hook needs to add explicit *process.exit(1)* calls at points where it would abort with error in order for the CLI to know to stop the build process.", "attachment": [], "flagged": false, "summary": "Alloy compile failures not aborting builds with new CLI (3.0+)", "creator": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "232066", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Took a little longer than expected to fix and test as I also made sure that the hooks in a project would be updated on every compile, when necessary. This will ensure that the fix makes it into every project.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-19T23:49:52.000+0000", "updated": "2012-12-19T23:49:52.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }