[JIRA] (JENKINS-60859) hadolint support in checkstyle parser

2020-01-24 Thread reitzmichni...@gmx.de (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Michael Düsterhus updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-60859  
 
 
  hadolint support in checkstyle parser   
 

  
 
 
 
 

 
Change By: 
 Michael Düsterhus  
 
 
Attachment: 
 2020-01-24 14_11_46-Linting Warnings [Jenkins] - Vivaldi.png  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.204233.1579861105000.5004.1579871583131%40Atlassian.JIRA.


[JIRA] (JENKINS-60859) hadolint support in checkstyle parser

2020-01-24 Thread reitzmichni...@gmx.de (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Michael Düsterhus commented on  JENKINS-60859  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: hadolint support in checkstyle parser   
 

  
 
 
 
 

 
 Expected result would be that warnings-ng displays somewhere the value inside the source attribute like DL4006. Actual result see screenshot  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.204233.1579861105000.5006.1579871583411%40Atlassian.JIRA.


[JIRA] (JENKINS-60859) hadolint support in checkstyle parser

2020-01-24 Thread ullrich.haf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ulli Hafner assigned an issue to Unassigned  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-60859  
 
 
  hadolint support in checkstyle parser   
 

  
 
 
 
 

 
Change By: 
 Ulli Hafner  
 
 
Priority: 
 Major Minor  
 
 
Labels: 
 help-wanted newbie-friendly  
 
 
Assignee: 
 Ulli Hafner  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.204233.1579861105000.4984.1579868820529%40Atlassian.JIRA.


[JIRA] (JENKINS-60859) hadolint support in checkstyle parser

2020-01-24 Thread ullrich.haf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ulli Hafner edited a comment on  JENKINS-60859  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: hadolint support in checkstyle parser   
 

  
 
 
 
 

 
 It might help if Can  you  can  please  add or compare the actual and expected result.   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.204233.1579861105000.4978.1579868760765%40Atlassian.JIRA.


[JIRA] (JENKINS-60859) hadolint support in checkstyle parser

2020-01-24 Thread ullrich.haf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ulli Hafner edited a comment on  JENKINS-60859  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: hadolint support in checkstyle parser   
 

  
 
 
 
 

 
 It might help if you  would  can  add or compare the actual and expected result.   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.204233.1579861105000.4976.1579868700219%40Atlassian.JIRA.


[JIRA] (JENKINS-60859) hadolint support in checkstyle parser

2020-01-24 Thread ullrich.haf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ulli Hafner updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-60859  
 
 
  hadolint support in checkstyle parser   
 

  
 
 
 
 

 
 It might help if you would add or compare the actual and expected result.   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.204233.1579861105000.4974.1579868700184%40Atlassian.JIRA.


[JIRA] (JENKINS-60859) hadolint support in checkstyle parser

2020-01-24 Thread reitzmichni...@gmx.de (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Michael Düsterhus created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-60859  
 
 
  hadolint support in checkstyle parser   
 

  
 
 
 
 

 
Issue Type: 
  Improvement  
 
 
Assignee: 
 Ulli Hafner  
 
 
Components: 
 analysis-model  
 
 
Created: 
 2020-01-24 10:18  
 
 
Environment: 
 warnings-ng 7.x  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Michael Düsterhus  
 

  
 
 
 
 

 
 Hadolint is the most common linter for Dockerfiles. https://github.com/hadolint/hadolint It also supports checkstyle output: 

 

hadolint Dockerfile -f checkstyle > checkstyle-hadolint.xml
 

 Example hadolint output: 

 

'1.0' encoding='UTF-8'?>'4.3'>'Dockerfile' >'13' column='1' severity='warning' message='Pin versions in apk add. Instead of apk add package use apk add packageversion' source='DL3018' />'16' column='1' severity='warning' message='In POSIX sh set option pipefail is undefined.' source='SC2039' />'16' column='1' severity='warning' message='Set the SHELL option o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash or disable this check' source='DL4006' />
 

 This works in general with warnings-ng, but the display of the source attribute is not working as your