Windows 10/Jenkins 2.60.2/Testlink 1.9

Testlink is able to found test cases from testlink with a few custom fields.

Create build step - iterative build steps. The custom Fields from testlink 
would be created as environment variables during iterative steps. but it 
was always gave error:

Wonder anything wrong or it's a bug?

 
java.runtime.version 1.8.0_66-b18



*00:00:00.002* Started by user wj 
<http://localhost:8080/user/wjiang>ddd*00:00:00.005* Building in workspace 
C:\Program Files (x86)\Jenkins\workspace\TestTAP*00:00:00.008* Preparing 
TestLink client API.*00:00:00.008* Using TestLink URL: 
http://10.25.111.111:80/lib/api/xmlrpc/v1/xmlrpc.php 
<http://10.25.144.169/lib/api/xmlrpc/v1/xmlrpc.php>*00:00:00.008* 
*00:00:00.199* Found 4 automated test cases in TestLink.*00:00:00.200* 
*00:00:00.200* Sorting automated test cases by TestLink test plan execution 
order.*00:00:00.200* *00:00:00.200* Executing single Build Steps.*00:00:00.200* 
*00:00:00.200* Merging build environment variables with data retrieved from 
TestLink.*00:00:00.200* *00:00:00.202* [TestTAP] $ cmd /c call 
C:\Users\englab\AppData\Local\Temp\jenkins914783694878718856.bat*00:00:00.243* 
*00:00:00.243* C:\Program Files (x86)\Jenkins\workspace\TestTAP>set  
1>"C:\Program Files (x86)\Jenkins\workspace\TestTAP\enviromentvar.txt " 
*00:00:00.245* *00:00:00.245* C:\Program Files 
(x86)\Jenkins\workspace\TestTAP>exit 0 *00:00:00.247* Executing iterative Build 
Steps.*00:00:00.247* *00:00:00.247* ERROR: Build step failed with 
exception*00:00:00.248* java.lang.NullPointerException*00:00:00.248*     at 
hudson.plugins.testlink.util.TestLinkHelper.addCustomFieldEnvironmentVariableName(TestLinkHelper.java:263)*00:00:00.248*
     at 
hudson.plugins.testlink.util.TestLinkHelper.createTestLinkEnvironmentVariables(TestLinkHelper.java:201)*00:00:00.248*
        at 
hudson.plugins.testlink.util.TestLinkHelper.buildTestCaseEnvVars(TestLinkHelper.java:304)*00:00:00.248*
      at 
hudson.plugins.testlink.TestLinkBuilder.executeIterativeBuildSteps(TestLinkBuilder.java:431)*00:00:00.248*
   at 
hudson.plugins.testlink.TestLinkBuilder.perform(TestLinkBuilder.java:249)*00:00:00.248*
      at 
hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)*00:00:00.248* 
     at 
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:735)*00:00:00.248*
      at hudson.model.Build$BuildExecution.build(Build.java:206)*00:00:00.248*  
      at hudson.model.Build$BuildExecution.doRun(Build.java:163)*00:00:00.248*  
      at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:490)*00:00:00.248*
  at hudson.model.Run.execute(Run.java:1735)*00:00:00.248*        at 
hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)*00:00:00.248*        at 
hudson.model.ResourceController.execute(ResourceController.java:97)*00:00:00.248*
    at hudson.model.Executor.run(Executor.java:405)*00:00:00.248* Build step 
'Invoke TestLink' marked build as failure*00:00:00.672* Finished: FAILURE



-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/320a918c-0be4-4e83-8005-f4898ca65c91%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to