[JIRA] (JENKINS-58159) 0 warnings found when parsing from file using IAR parser

2019-07-28 Thread ullrich.haf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ulli Hafner reopened an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-58159  
 
 
  0 warnings found when parsing from file using IAR parser   
 

  
 
 
 
 

 
Change By: 
 Ulli Hafner  
 
 
Resolution: 
 Not A Defect  
 
 
Status: 
 Resolved Reopened  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200209.1561366965000.2440.1564352820265%40Atlassian.JIRA.


[JIRA] (JENKINS-58159) 0 warnings found when parsing from file using IAR parser

2019-07-18 Thread jonathand...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jonathan Delizy commented on  JENKINS-58159  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: 0 warnings found when parsing from file using IAR parser   
 

  
 
 
 
 

 
 Ulli Hafner You're right, changing the reportEncoding to UTF_16LE fixed it. Thanks a lot for your help.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200209.1561366965000.15468.1563462540398%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-58159) 0 warnings found when parsing from file using IAR parser

2019-07-18 Thread ullrich.haf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ulli Hafner resolved as Not A Defect  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Seems that this is an encoding problem, your shell is exporting with UTF_16LE.  See https://github.com/jenkinsci/analysis-model/commit/9c551b1ad555f3d482f10aa4ec9d56dcaa843ae2.  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-58159  
 
 
  0 warnings found when parsing from file using IAR parser   
 

  
 
 
 
 

 
Change By: 
 Ulli Hafner  
 
 
Status: 
 Open Resolved  
 
 
Resolution: 
 Not A Defect  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200209.1561366965000.15412.1563460140142%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-58159) 0 warnings found when parsing from file using IAR parser

2019-06-24 Thread jonathand...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jonathan Delizy updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-58159  
 
 
  0 warnings found when parsing from file using IAR parser   
 

  
 
 
 
 

 
Change By: 
 Jonathan Delizy  
 

  
 
 
 
 

 
 HelloWhen using the IAR parser with a pattern to parse a log file instead of the console, the parser founds 0 warnings whereas there is plenty.Using the same parser on console founds the warnings but is useless to me since it mixes warnings from all my parallels tasks in my Jenkins pipeline. IAR Log file is in attachement.Part of  build log:{noformat}10:32:46  Skipping issues blame since Git is the only supported SCM up to now.10:32:46  [Debug/3Nm] Searching for all files in 'D:\Jenkins_SIMU\workspace\SIM145_SIM145_BuildMulti_trunk' that match the pattern 'Debug_3Nm_iar_build.log'10:32:46  [Debug/3Nm] -> found 1 file10:32:46  [Debug/3Nm] Successfully parsed file D:\Jenkins_SIMU\workspace\SIM145_SIM145_BuildMulti_trunk\Debug_3Nm_iar_build.log10:32:46  [Debug/3Nm] -> found 0 issues (skipped 0 duplicates)10:32:46  [Debug/3Nm] Attaching ResultAction with ID 'Debug_3Nm' to run 'SIM145/SIM145_BuildMulti/trunk #300'.{noformat}Part of  pipeline code:{code}node ('IAR_8_32_ARM') {try {deleteDir()unstash name: 'SOURCES'bat label: "IAR build", script: """set PATH=%PATH%;%IAR_8_32_ARM%\\common\\binset /a NB_PROCESS=%NUMBER_OF_PROCESSORS%*2powershell "& '%IAR_8_32_ARM%\\common\\bin\\IarBuild.exe' CODE\\IDE\\IAR_ARM\\SIM145.ewp -build '${axisIarConfigurationValue}' -log info -parallel %NB_PROCESS% -varfile 'CODE\\IDE\\IAR_ARM\\SIM145_${axisMotorTorqueValue}.custom_argvars' *>&1 | Tee-Object -FilePath '${axisIarConfigurationValue}_${axisMotorTorqueValue}_iar_build.log'""""archiveArtifacts allowEmptyArchive: false, artifacts: "${axisIarConfigurationValue}_${axisMotorTorqueValue}_iar_build.log, CODE/IDE/IAR_ARM/${axisIarConfigurationValue}/Exe/**, CODE/IDE/IAR_ARM/${axisIarConfigurationValue}/List/**, CODE/IDE/IAR_ARM/*", caseSensitive: true, defaultExcludes: true, fingerprint: false, onlyIfSuccessful: false } catch(exp) {throw exp} finally {recordIssues enabledForFailure: true, tools: [iar(id: "${axisIarConfigurationValue}_${axisMotorTorqueValue}", name: "${axisIarConfigurationValue}/${axisMotorTorqueValue}", pattern: "${axisIarConfigurationValue}_${axisMotorTorqueValue}_iar_build.log", reportEncoding: "CP1250")], sourceCodeEncoding: "CP1250"deleteDir()}}{code}Note: I use PowerShell to "tee" the IAR output to both console and the log file. The {{tee}} step doesn't work for me. Seems related to PR [#62|https://github.com/jenkinsci/pipeline-utility-steps-plugin/pull/62].  
 

  
 
 
 
 

 

[JIRA] (JENKINS-58159) 0 warnings found when parsing from file using IAR parser

2019-06-24 Thread jonathand...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jonathan Delizy created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-58159  
 
 
  0 warnings found when parsing from file using IAR parser   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Ulli Hafner  
 
 
Attachments: 
 Debug_3Nm_iar_build.log  
 
 
Components: 
 warnings-ng-plugin  
 
 
Created: 
 2019-06-24 09:02  
 
 
Environment: 
 Warnings Next Generation Plugin 5.1.0  Jenkins 2.176.1  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Jonathan Delizy  
 

  
 
 
 
 

 
 Hello When using the IAR parser with a pattern to parse a log file instead of the console, the parser founds 0 warnings whereas there is plenty. Using the same parser on console founds the warnings but is useless to me since it mixes warnings from all my parallels tasks in my Jenkins pipeline. Log file is in attachement. Part of pipeline code: 

 

node ('IAR_8_32_ARM') {
try {
deleteDir()
unstash name: 'SOURCES'
bat label: "IAR build", script: """
set PATH=%PATH%;%IAR_8_32_ARM%\\common\\bin
set /a NB_PROCESS=%NUMBER_OF_PROCESSORS%*2
powershell "& '%IAR_8_32_ARM%\\common\\bin\\IarBuild.exe' CODE\\IDE\\IAR_ARM\\SIM145.ewp -build '${axisIarConfigurationValue}' -log info -parallel %NB_PROCESS% -varfile 'CODE\\IDE\\IAR_ARM\\SIM145_${axisMotorTorqueValue}.custom_argvars' *>&1 | Tee-Object -FilePath '${axisIarConfigurationValue}_${axisMotorTorqueValue}_iar_build.log'"
"""
archiveArtifacts allowEmptyArchive: false, artifacts: