automated gradle build of android app

i can build the app on the build agent in android studio 3.0.1.

 

but my automated build fails with the following errors .  any help would be appreciated.

 

uploaded file using web form

 

0
4 comments
Avatar
Permanently deleted user
Name: Build
ID: DasdfsadfAndroid_Build
Description: none
Build number format: %build.counter%, next build number: #54
Artifact paths:
app\build\outputs\apk => build
Build options:
Enable hanging builds detection: ON
Allow triggering personal builds: ON
Enable status widget: OFF
Limit the number of simultaneously running builds (0 — unlimited): unlimited

Version Control Settings (1) 

VCS checkout mode: Prefer to checkout files on agent (recommended)
Checkout directory: default
Clean all files before build: OFF
Attached VCS roots:
VCS Root Checkout Rules
our root directory
Latest check for changes: 15:27 (periodical run by the schedule) 
Changes checking interval: 1m
not specified
Show changes from snapshot dependencies: OFF

Build Steps (2)

Step 1:
Runner type: Command Line (Simple command execution)
Execute: If all previous steps finished successfully
Working directory: same as checkout directory
Custom script: 
Step 2:
Runner type: Gradle (Runner for Gradle projects)
Execute: If all previous steps finished successfully
Gradle tasks: clean build
Gradle home path: not specified
Additional Gradle command line parameters: -PversionCode=%system.build.number%
Use Gradle Wrapper: ON
Path to Gradle wrapper: not specified
Incremental building enabled: OFF
Run Parameters:
  • Print stacktrace OFF
  • Log debug messages ON
JDK home path: not specified
JVM command line parameters: not specified
Java code coverage: disabled

Triggers (1) 

Build configuration is active (triggering enabled).
Trigger Parameters Description
VCS Trigger
Triggers a build after a VCS check-in is detected

Failure Conditions 

Fail build if:
process exit code is not zero: ON
at least one test failed: ON
an error message is logged by build runner: OFF
it runs longer than: no limit
out of memory or crash is detected: ON

Build Features 

There are no build features configured.

Dependencies 

Snapshot Dependencies:
There are no snapshot dependencies.
Artifact dependencies:
There are no artifact dependencies.

Parameters 

Configuration parameters: none defined
System properties: none defined
Environment variables: none defined

Agent Requirements 

None defined

0
Avatar
Permanently deleted user

call gradlew.bat

0

Hi Pete,

unfortunately the error message is not displaying, could you please share it again?

0
Avatar
Permanently deleted user

the errolog was uploaded with the web form. i have a support ticket in for the issue that references the file name

0

Please sign in to leave a comment.