Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14762] CLI: Toast says android build succeeded when build failed

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-08-08T22:33:35.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 16, 2013 Sprint 16 Core, Release 3.1.2, Release 3.2.0
ComponentsCLI, Tooling
LabelsStudio, android, distribution, qe-closed-3.1.2, qe-testadded, triage
ReporterShannon Hicks
AssigneeChris Barber
Created2013-04-17T17:13:40.000+0000
Updated2013-12-03T20:04:55.000+0000

Description

If a build fails, TiStudio still says it succeeded, console says (correctly) build failed. See screenshot. The problem is if the build callback receives an error, it says there was an error, but doesn't exit with a non-zero exit code.

Attachments

FileDateSize
Screen Shot 2013-04-17 at 12.11.35 PM.png2013-04-17T17:13:40.000+000094450

Comments

  1. Olga Romero 2013-04-17

    Tested with: Titanium Studio, build: 3.1.0.201304151600 SDK, build: 3.1.0.GA I used an incorrect password to fail the build. Although we get message "Packaging successful", there is no apk file in Distribution Location.
  2. Chris Barber 2013-08-08

    Master pull request: https://github.com/appcelerator/titanium_mobile/pull/4560 3_1_X pull request: https://github.com/appcelerator/titanium_mobile/pull/4561
  3. Olga Romero 2013-08-16

    Tested with: Appcelerator Studio, build: 3.1.2.201308091728 Titanium SDK, build: 3.1.2.GA CLI: 3.1.2 Project failed to build with incorrect password, no toast appearance and no .apk file. Closing as fixed.

JSON Source