Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-44450

Block scoped usage

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Allow warnings to scan just the console output from steps inside a block in pipelines and preferably give it a name and have multiple warnings reports one per name ie

       

      warnings consoleParsers:[[parserName: 'GNU C Compiler 4 (gcc)']], unstableTotalAll: '0', name: 'GCC' {
        sh 'make'
      }
      warnings consoleParsers:[[parserName: 'Doxygen']], unstableTotalAll: '0', name: 'Doxygen' {
        sh 'make doc'
      }
      

      Currently things like being able to click on a warning to view the source dosn't work in pipelines if your doing parallel steps over multiple hosts (as the workspace paths differ)

        Attachments

          Issue Links

            Activity

            davidvanlaatum David van Laatum created issue -
            davidvanlaatum David van Laatum made changes -
            Field Original Value New Value
            Description Allow warning to scan just the console output from steps inside a block in pipelines and preferably give it a name and have multiple warnings reports one per name ie

             
            {code:java}
            warnings consoleParsers:[[parserName: 'GNU C Compiler 4 (gcc)']], unstableTotalAll: '0', name: 'GCC' {
              sh 'make'
            }
            warnings consoleParsers:[[parserName: 'Doxygen']], unstableTotalAll: '0', name: 'Doxygen' {
              sh 'make doc'
            }
            {code}
            Currently things like being able to click on a warning to view the source dosn't work in pipelines if your doing parallel steps over multiple hosts (as the workspace paths differ)
            Allow warnings to scan just the console output from steps inside a block in pipelines and preferably give it a name and have multiple warnings reports one per name ie

             
            {code:java}
            warnings consoleParsers:[[parserName: 'GNU C Compiler 4 (gcc)']], unstableTotalAll: '0', name: 'GCC' {
              sh 'make'
            }
            warnings consoleParsers:[[parserName: 'Doxygen']], unstableTotalAll: '0', name: 'Doxygen' {
              sh 'make doc'
            }
            {code}
            Currently things like being able to click on a warning to view the source dosn't work in pipelines if your doing parallel steps over multiple hosts (as the workspace paths differ)
            drulli Ulli Hafner made changes -
            Link This issue relates to JENKINS-37325 [ JENKINS-37325 ]
            drulli Ulli Hafner made changes -
            Labels analysis-core-2.0
            Hide
            drulli Ulli Hafner added a comment - - edited

            I think the whole plug-in suite needs to be refactored so we can split the processing into several tasks that could be called individually:

            1. Parse a file or sub-set of the console log with a parser: Return value is a set of warnings
            2. Append a set of warnings to an existing set of warnings
            3. Compute the new and fixed warnings
            4. Create an action that shows the results
            5. Change the build status based on the results
            6. Copy conflicting files to the Jenkins master build results
            Show
            drulli Ulli Hafner added a comment - - edited I think the whole plug-in suite needs to be refactored so we can split the processing into several tasks that could be called individually: Parse a file or sub-set of the console log with a parser: Return value is a set of warnings Append a set of warnings to an existing set of warnings Compute the new and fixed warnings Create an action that shows the results Change the build status based on the results Copy conflicting files to the Jenkins master build results
            drulli Ulli Hafner made changes -
            Remote Link This issue links to "Page (Jenkins Wiki)" [ 17267 ]
            Hide
            drulli Ulli Hafner added a comment -

            I'm trying to consolidate the requirements for the static analysis suite in pipeline jobs in a wiki page. Can you please read it carefully and comment or change it accordingly?

            Show
            drulli Ulli Hafner added a comment - I'm trying to consolidate the requirements for the static analysis suite in pipeline jobs in a wiki page . Can you please read it carefully and comment or change it accordingly?
            drulli Ulli Hafner made changes -
            Labels analysis-core-2.0
            drulli Ulli Hafner made changes -
            Component/s warnings-ng-plugin [ 24526 ]
            Component/s warnings-plugin [ 15513 ]
            drulli Ulli Hafner made changes -
            Rank Ranked higher
            drulli Ulli Hafner made changes -
            Link This issue relates to JENKINS-55258 [ JENKINS-55258 ]
            drulli Ulli Hafner made changes -
            Rank Ranked lower
            drulli Ulli Hafner made changes -
            Rank Ranked lower
            drulli Ulli Hafner made changes -
            Link This issue is duplicated by JENKINS-58427 [ JENKINS-58427 ]
            oleg_nenashev Oleg Nenashev made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            Hide
            drulli Ulli Hafner added a comment -
            Show
            drulli Ulli Hafner added a comment - I created a proof of concept: https://github.com/jenkinsci/warnings-ng-plugin/pull/235 Seems to need some additional work https://groups.google.com/d/msg/jenkinsci-dev/C3cQQSRWpqI/NJcSDsH9BwAJ .
            drulli Ulli Hafner made changes -
            Status In Progress [ 3 ] Open [ 1 ]
            Hide
            kon Kalle Niemitalo added a comment -

            Ulli Hafner, as the wiki is now read-only, do you accept comments on the requirements via some other channel?

            Show
            kon Kalle Niemitalo added a comment - Ulli Hafner , as the wiki is now read-only, do you accept comments on the requirements via some other channel?
            Hide
            drulli Ulli Hafner added a comment -

            What do you want to comment? This issue? Then just continue in Jira.
            Or would you like to ask generic questions? Then please use the Gitter channel.

            Show
            drulli Ulli Hafner added a comment - What do you want to comment? This issue? Then just continue in Jira. Or would you like to ask generic questions? Then please use the Gitter channel.
            drulli Ulli Hafner made changes -
            Rank Ranked higher
            drulli Ulli Hafner made changes -
            Rank Ranked higher

              People

              Assignee:
              drulli Ulli Hafner
              Reporter:
              davidvanlaatum David van Laatum
              Votes:
              3 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated: