junit - error with JiraTestResultReporter with Jenkins -


i configured jenkins jiratestresultreporter plugin. , using selenium testng test cases , able read test case also. using jira free trail. didn't install jira in jenkins.

[xunit] [info] - starting record. [xunit] [info] - processing junit [xunit] [info] - [junit] - 1 test report file(s) found pattern '**/test-callingtestsuite.xml' relative 'c:\seleniumtest\workspace\testwithjira' testing framework 'junit'. [xunit] [info] - converting 'c:\seleniumtest\workspace\testwithjira\test-output\junitreports\test-callingtestsuite.xml' . [xunit] [info] - check 'failed tests' threshold. [xunit] [info] - check 'skipped tests' threshold. [xunit] [info] - setting build status success [xunit] [info] - stopping recording. [jiratestresultreporter] [info] examining test results... [jiratestresultreporter] [debug] build result success  [jiratestresultreporter] [debug] [jiratestresultreporter] [info] workspace c:\seleniumtest\workspace\testwithjira  [jiratestresultreporter] [debug] projectkey: test [jiratestresultreporter] [debug] errordetails: failure message test [jiratestresultreporter] [debug] fullname: callingtestsuite.failingtestcase [jiratestresultreporter] [debug] simplename: callingtestsuite [jiratestresultreporter] [debug] title: case result: failingtestcase [jiratestresultreporter] [debug] packagename: (root) [jiratestresultreporter] [debug] name: failingtestcase [jiratestresultreporter] [debug] classname: callingtestsuite [jiratestresultreporter] [debug] failedsince: 88 [jiratestresultreporter] [debug] status: failed [jiratestresultreporter] [debug] age: 11 [jiratestresultreporter] [debug] errorstacktrace:  [jiratestresultreporter] [debug] affectedfile:  [jiratestresultreporter] [debug] ---------------------------- java.lang.runtimeexception: java.lang.runtimeexception: org.json.jsonexception: jsonarray text must start '[' @ 1 [character 2 line 1] java.lang.runtimeexception: java.lang.runtimeexception: org.json.jsonexception: jsonarray text must start '[' @ 1 [character 2 line 1] [jiratestresultreporter] [info] done. finished: success   

i configured xunit plugin reading test result . getting error. issue not creating in jira server. following error getting.

do need install jira jenkins? or can use trial version server directly?

i created java application instead of trying this. application take failed test cases output of selenium test , create bug in jira using jira rest api.


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -