Skip to content
Failed

Console Output

Started by user Mike Dawson
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building in workspace /home/jenkins/.jenkins/workspace/XmlPullParserKmp
The recommended git tool is: NONE
No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/UstadMobile/XmlPullParserKmp.git # timeout=10
Fetching upstream changes from https://github.com/UstadMobile/XmlPullParserKmp.git
 > git --version # timeout=10
 > git --version # 'git version 2.25.1'
 > git fetch --tags --force --progress -- https://github.com/UstadMobile/XmlPullParserKmp.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/main^{commit} # timeout=10
Checking out Revision 03f977cea146b828fece4fefb4aae5af74a18575 (refs/remotes/origin/main)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 03f977cea146b828fece4fefb4aae5af74a18575 # timeout=10
Commit message: "Add local directory publishing"
 > git rev-list --no-walk 03f977cea146b828fece4fefb4aae5af74a18575 # timeout=10
[EnvInject] - Executing scripts and injecting environment variables after the SCM step.
[EnvInject] - Injecting as environment variables the properties content 
ANDROID_SDK_ROOT=/var/lib/jenkins/Android/Sdk
KEYSTORE=/var/lib/jenkins/javakey/android-release-keystore.properties
CHROME_BIN=/usr/bin/chromium-browser
ANDROID_HOME=/var/lib/jenkins/Android/Sdk

[EnvInject] - Variables injected successfully.
[Gradle] - Launching build.
[XmlPullParserKmp] $ /home/jenkins/.jenkins/workspace/XmlPullParserKmp/gradlew clean build publish
Starting a Gradle Daemon (subsequent builds will be faster)

> Configure project :
Kotlin Multiplatform Projects are an Alpha feature. See: https://kotlinlang.org/docs/reference/evolution/components-stability.html. To hide this message, add 'kotlin.mpp.stability.nowarn=true' to the Gradle properties.

Warning: The 'kotlin-android-extensions' Gradle plugin is deprecated. Please use this migration guide (https://goo.gle/kotlin-android-extensions-deprecation) to start working with View Binding (https://developer.android.com/topic/libraries/view-binding) and the 'kotlin-parcelize' plugin.

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':verifyReleaseResources'.
> SDK location not found. Define location with an ANDROID_SDK_ROOT environment variable or by setting the sdk.dir path in your project's local properties file at '/home/jenkins/.jenkins/workspace/XmlPullParserKmp/local.properties'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 6s
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
Finished: FAILURE