Hi,
I am using the following scripts

perlcritic --gentle  . | sed 's/\(.*source OK\)$/ok \1/' | sed '/source 
OK$/!s/^.*$/not ok &/' | tee perlcritic_tap.results.tmp


echo 1.. `wc -l < perlcritic_tap.results.tmp` | cat - 
perlcritic_tap.results.tmp | tee 
/var/lib/jenkins/jobs/PERLAPP/workspace/jobperlcritic_tap.resultsk


but getting error indicating NO TAP results were found


11:21:05 ok test/cgi-bin/CodeRyte/Extract/SAX/SentenceDriver/ordered_list.t 
source OK 11:21:05 ok 
test/cgi-bin/CodeRyte/Customer/RGXADV/Integration/RisLogic/parse_note.t source 
OK 11:21:05 TAP Reports Processing: START 11:21:05 Looking for TAP results 
report in workspace using pattern: **/perlcritic_tap.resultsk 11:21:07 Saving 
reports... 11:21:07 Found matching files but did not find any TAP results. 
11:21:07 Finished: SUCCESS


here are the top few lines from the results file:

1.. 5818
not ok ./pcritic.pl: Code before strictures are enabled at line 7, column 1.  
See page 429 of PBP.  (Severity: 5)
not ok cgi-bin/ExtractXfields.pl: Subroutine prototypes used at line 107, 
column 1.  See page 194 of PBP.  (Severi
ty: 5)
not ok cgi-bin/ExtractXfields.pl: Bareword file handle opened at line 108, 
column 10.  See pages 202,204 of PBP.  
(Severity: 5)
not ok cgi-bin/ExtractXfields.pl: Two-argument "open" used at line 108, column 
10.  See page 207 of PBP.  (Severit
y: 5)
not ok cgi-bin/ExtractXfields.pl: Subroutine prototypes used at line 126, 
column 1.  See page 194 of PBP.  (Severi
ty: 5)
not ok cgi-bin/ExtractXfields.pl: Loop iterator is not lexical at line 129, 
column 2.  See page 108 of PBP.  (Seve
rity: 5)

Reply via email to