{ "id": "109747", "key": "TIMOB-12745", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2013-06-11T23:04:50.000+0000", "created": "2013-02-14T23:52:14.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-sdk3.0.2" ], "versions": [], "issuelinks": [ { "id": "29345", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "outwardIssue": { "id": "91507", "key": "TIMOB-9028", "fields": { "summary": "CLI: \"build\" command for Android apps", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "6", "description": "gh.issue.epic.desc", "name": "Epic", "subtask": false } } } }, { "id": "29508", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "115785", "key": "AC-2527", "fields": { "summary": "CLI: Building for android device with --build-only still tries to install and launch application", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "29513", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "106319", "key": "TIMOB-12034", "fields": { "summary": "CLI: Building for android with '-b' -build only flag starts the daemon & waits for the device after building the app", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-21T22:43:34.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "Description:\r\n1.Run the command in CLI :\r\n \"ti build -p android -f --build-only -d 'proj-dir' \"\r\n2.Check out the output on cli\r\n\r\nActual result:\r\n1.The project builds but the CLI waits for the device\r\nWe see something like this:\r\n{code}\r\n[INFO] Project built successfully in 6s 209ms\r\n\r\n[DEBUG] C:\\Users\\QEtester\\Desktop\\android-sdk-windows\\platform-tools\\adb.exe start-server\r\n- waiting for device -\r\n{code}\r\n\r\nExpected Result:\r\n1.The CLI should only build the project but not wait for the device in build only senario ", "attachment": [], "flagged": false, "summary": "CLI : CLI 'waits for the device' even though the build only flag is specified in the command for android", "creator": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nCLI version :3.0.24-cr\r\nWin 8\r\nMAC OSX 10.8.2\r\nlinux 12.04 LTS", "comment": { "comments": [ { "id": "257290", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Dupe of TIMOB-12034.\r\n\r\nBesides Android build current does not honor the --build-only flag. It should produce the same identical results as without the flag. This will be fixed for 3.2.0.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-06-11T23:04:50.000+0000", "updated": "2013-06-11T23:04:50.000+0000" }, { "id": "414613", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T22:43:34.000+0000", "updated": "2017-03-21T22:43:34.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }