Skip to content
Failed

Console Output

Started by GitHub push by SamihMustafa
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building in workspace /home/jenkins/.jenkins/workspace/Zim2Xapi-Cypress-Tests
The recommended git tool is: NONE
No credentials specified
 > git rev-parse --resolve-git-dir /home/jenkins/.jenkins/workspace/Zim2Xapi-Cypress-Tests/.git # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/UstadMobile/ZIM2Xapi.git # timeout=10
Fetching upstream changes from https://github.com/UstadMobile/ZIM2Xapi.git
 > git --version # timeout=10
 > git --version # 'git version 2.43.0'
 > git fetch --tags --force --progress -- https://github.com/UstadMobile/ZIM2Xapi.git +refs/heads/*:refs/remotes/origin/* # timeout=10
Seen branch in repository origin/generate-manifest
Seen branch in repository origin/main
Seen branch in repository origin/shrink-xapi
Seen branch in repository origin/xapi-statements
Seen 4 remote branches
 > git show-ref --tags -d # timeout=10
Checking out Revision 9b1abf7f0245be3e471cd17f9b0d42935690eecf (origin/generate-manifest)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 9b1abf7f0245be3e471cd17f9b0d42935690eecf # timeout=10
Commit message: "create manifest file"
First time build. Skipping changelog.
[Gradle] - Launching build.
[Zim2Xapi-Cypress-Tests] $ /home/jenkins/.jenkins/workspace/Zim2Xapi-Cypress-Tests/gradlew -Pktorbundleproductionjs=true clean build
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :app:clean
> Task :app:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :app:processResources
> Task :app:processTestResources NO-SOURCE
> Task :app:compileKotlin
> Task :app:compileJava NO-SOURCE
> Task :app:classes
> Task :app:jar
> Task :app:startScripts
> Task :app:distTar
> Task :app:distZip
> Task :app:assemble
> Task :app:copyJarToJsTests

> Task :app:compileTestKotlin FAILED
e: file:///home/jenkins/.jenkins/workspace/Zim2Xapi-Cypress-Tests/app/src/test/kotlin/com/ustadmobile/zim2xapi/CreateXapiFileUseCaseTest.kt:17:94 Argument type mismatch: actual type is 'kotlinx.serialization.json.Json.Default', but 'com.ustadmobile.zim2xapi.CreateManifestFileUseCase' was expected.
e: file:///home/jenkins/.jenkins/workspace/Zim2Xapi-Cypress-Tests/app/src/test/kotlin/com/ustadmobile/zim2xapi/CreateXapiFileUseCaseTest.kt:17:94 No value passed for parameter 'json'.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileTestKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
   > Compilation error. See log for more details

* 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 14s
9 actionable tasks: 9 executed
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
[htmlpublisher] Archiving HTML reports...
Recording test results
[Checks API] No suitable checks publisher found.
Finished: FAILURE