I am trying to set up a Project job with the Cordova application with android as the platform. When I do a build, I ran into the following error during the build time (I did create a gradle.properties file under $HOME):
unning command: /Users/hudson/.hudson/jobs/Mobile-Dashboard-Agile/workspace/mobiledashboard/platforms/android/cordova/build --release
ANDROID_HOME=/Users/hudson/CI/sdk/android-sdk-macosx
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home
Running: /Users/hudson/.hudson/jobs/Mobile-Dashboard-Agile/workspace/mobiledashboard/platforms/android/gradlew cdvBuildRelease -b /Users/hudson/.hudson/jobs/Mobile-Dashboard-Agile/workspace/mobiledashboard/platforms/android/build.gradle -Dorg.gradle.daemon=true
[1m[31m
FAILURE: Build failed with an exception.
[39m[22m[1m[31m* What went wrong:
A problem occurred configuring root project ‘android’.
[39m[22m[1m[31m> Could not resolve all dependencies for configuration ‘:classpath’.
[39m[22m[1m[31m > Could not resolve com.android.tools.build:gradle:1.0.0+.
Required by:
[39m[22m[1m[31m :android:unspecified
Failed to list versions for com.android.tools.build:gradle.
Unable to load Maven meta-data from https://repo1.maven.org/maven2/com/android/tools/build/gradle/maven-metadata.xml3.
Could not GET ‘https://repo1.maven.org/maven2/com/android/tools/build/gradle/maven-metadata.xml’.
peer not authenticated
[39m[22m[1m[31m* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
[39m[22m
BUILD FAILED
Total time: 3.952 secs