Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-26549

build.testResultAction was not set and it is always empty

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • email-ext-plugin
    • plugin : Email-ext
      OS : Windows Server 2008 R2
      Browser : Any (Not applicable)
      Jenkins version : Jenkins ver. 1.560

      I have configured my Build.xml as mentioned below to run test cases for Dotnet assemblies,

      <PropertyGroup> <TestResultsPath>$(JENKINS_HOME)\jobs\$(JOB_NAME)\builds\$(BUILD_NUMBER)\TestResults.xml</TestResultsPath>
      </PropertyGroup>

      <Target Name="RunUnitTests">
      <Exec Command='"$(NUnitConsole)" "$(UnitTestsDLL_Service)" "$(UnitTestsDLL_Business)" /result="$(TestResultsPath)" /framework=4.0' />
      </Target>

      Where $(UnitTestsDLL_Business), $(UnitTestsDLL_Service) are dll absolute paths.

      I tried by changes "TestResultsPath" to local folder.But nothing is working.But i could the test summary in the build log.Could you please help me in resolving the issue?

            slide_o_mix Alex Earl
            salas Purna kumar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: