Closed Bug 1125330 Opened 6 years ago Closed 6 years ago

Expose |mach| output when internal Gradle mach invocations fail

Categories

(Firefox Build System :: Android Studio and Gradle Integration, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla38

People

(Reporter: ally, Assigned: nalexander)

References

Details

Attachments

(1 file, 1 obsolete file)

Error:Gradle: Execution failed for task ':omnijar:buildOmnijar'.
> Process 'command '/Users/mozilla/moz/hg/fennec/mach'' finished with non-zero exit value 2

mach build also failed
We invoke |mach| in several places during the Gradle build.  If any place fails, you get the above cryptic message.  We can do better.  This could look like a specialized "MachExec" Gradle task that captures stdout and stderr and feeds them to the user on failure.
Blocks: gradle
Summary: build directory in bad state? → Expose |mach| output when internal Gradle mach invocations fail
OS: Mac OS X → Android
Hardware: x86 → All
/r/2959 - Bug 1125330 - Expose |mach| output when building the omnijar in Gradle.

Pull down this commit:

hg pull review -r a2b5d72923aec29269b6cbd34a28fdd5fe83a81c
https://hg.mozilla.org/mozilla-central/rev/a0bd239901ec
Assignee: nobody → nalexander
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 38
Attachment #8553939 - Attachment is obsolete: true
Product: Firefox for Android → Firefox Build System
Target Milestone: Firefox 38 → mozilla38
You need to log in before you can comment on or make changes to this bug.