I am executed Jenkins project that calls a Gradle script to perform the following actions:
testRunResult
I have followed the documentation https://docs.appian.com/suite/help/20.3/Running_Automated_Tests_on_Expression_Rules_with_Jenkins.html#create-a-gradle-script-to-start-a-system-or-application-test
very closely, but cannot seem to parse my test results successfully.
This is my console output:
Started by user John Doe Running as SYSTEM Building in workspace /var/lib/jenkins/workspace/ApplicationTest [Gradle] - Launching build. [ApplicationTest] $ /var/lib/jenkins/tools/hudson.plugins.gradle.GradleInstallation/Gradle_6.7-rc-1/bin/gradle runApplicationTest -PsiteUrl=https://rf5r.appiantrial.com Starting a Gradle Daemon (subsequent builds will be faster) > Task :runApplicationTest Start System Test Could not parse content-type: Response does not have a content-type header Test-run ID: 69 Could not parse content-type: Response does not have a content-type header Could not parse content-type: Response does not have a content-type header System Test Completed BUILD SUCCESSFUL in 12s 1 actionable task: 1 executed Build step 'Invoke Gradle script' changed build result to SUCCESS Recording test results None of the test reports contained any result Finished: SUCCESS
My testResult xml file:
Discussion posts and replies are publicly visible