• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • warnings-ng-plugin
    • None
    • linux, mac, windows

      After upgrading the plugin from 9.22 to 10.1.0 all the graphs are emty. No result from recordIssues at all. 

      Here is the setup:

          post {
              always
              {
                  recordIssues enabledForFailure: true,
                      healthy: 1,
                      tools: [
                          clang(id: 'scan-build', name: 'Xcode Analyze', pattern: "${PROD_IOS_DIR}/device/Iphone/PROD/build_release/scan-build.log"),
                          clang(name: 'Build')
                      ],
                      unhealthy: 10
              }
              success
              {
                  echo 'Build succeeded'
              }
              failure
              {
                  echo 'Build failed'
              }
          } 

       

      and another configuration example:

      // code placeholder
        stage('Record compiler warnings and static analysis results') {
          steps {
            recordIssues(tools: [java(), mavenConsole(), spotBugs(useRankAsPriority: true), pmdParser(), cpd(), checkStyle()])
            jacoco(
              execPattern: '**/target/**.exec',
              classPattern: '**/target/classes',
              sourceInclusionPattern: '**/src/main/java/**/*.java',
            )
          }
        }
      

       

      Has anyone else got this problem?}}

          [JENKINS-71267] All trend graphs are empty

          Kent Granström created issue -
          Kent Granström made changes -
          Description Original: After upgrading the plugin from 9.22 to 10.1.0 all the graphs are emty. No result from recordIssues at all.  Here is the setup:

          {{    post
              {
                  always
                  {
                      recordIssues enabledForFailure: true,
                          healthy: 1,
                          tools: [
                              clang(id: 'scan-build', name: 'Xcode Analyze', pattern: "${IOS_DIR}/device/Iphone/PROD/build_release/scan-build.log"),
                              clang(name: 'Build')
                          ],
                          unhealthy: 10
                  }
                  success
                  {
                      echo 'Build succeeded'
                  }
                  failure
                  {
                      echo 'Build failed'
                  }
              }}}

           

          and another configuration example:

          {{                stage('Record compiler warnings and static analysis results') {
                              steps {
                                  recordIssues(tools: [java(), mavenConsole(), spotBugs(useRankAsPriority: true), pmdParser(), cpd(), checkStyle()])
                                  jacoco(
                                      execPattern: '**/target/**.exec',
                                      classPattern: '**/target/classes',
                                      sourceInclusionPattern: '**/src/main/java/**/*.java',
                                  )
                              }
                          }

          Has anyone else got this problem?}}
          New: After upgrading the plugin from 9.22 to 10.1.0 all the graphs are emty. No result from recordIssues at all.  Here is the setup:

          {{{{    post}}
          {{    {}}
          {{        always}}
          {{        {}}
          {{            recordIssues enabledForFailure: true,}}
          {{                healthy: 1,}}
          {{                tools: [}}
          {{                    clang(id: 'scan-build', name: 'Xcode Analyze', pattern: "${IOS_DIR}/device/Iphone/PROD/build_release/scan-build.log"),}}
          {{                    clang(name: 'Build')}}
          {{                ],}}
          {{                unhealthy: 10}}
          {{        }}}
          {{        success}}
          {{       }}

          {{{             echo 'Build succeeded'         }}}

          {{        failure}}
          {{       }}

          {{{             echo 'Build failed'         }}}

          {{    }}}}}

           

          and another configuration example:

          {{{{                stage('Record compiler warnings and static analysis results') {}}
          {{                    steps}}

          {{{                         recordIssues(tools: [java(), mavenConsole(), spotBugs(useRankAsPriority: true), pmdParser(), cpd(), checkStyle()])                         jacoco(                             execPattern: '**/target/**.exec',                             classPattern: '**/target/classes',                             sourceInclusionPattern: '**/src/main/java/**/*.java',                         )                     }}}

          {{                }}}

          Has anyone else got this problem?}}
          Kent Granström made changes -
          Description Original: After upgrading the plugin from 9.22 to 10.1.0 all the graphs are emty. No result from recordIssues at all.  Here is the setup:

          {{{{    post}}
          {{    {}}
          {{        always}}
          {{        {}}
          {{            recordIssues enabledForFailure: true,}}
          {{                healthy: 1,}}
          {{                tools: [}}
          {{                    clang(id: 'scan-build', name: 'Xcode Analyze', pattern: "${IOS_DIR}/device/Iphone/PROD/build_release/scan-build.log"),}}
          {{                    clang(name: 'Build')}}
          {{                ],}}
          {{                unhealthy: 10}}
          {{        }}}
          {{        success}}
          {{       }}

          {{{             echo 'Build succeeded'         }}}

          {{        failure}}
          {{       }}

          {{{             echo 'Build failed'         }}}

          {{    }}}}}

           

          and another configuration example:

          {{{{                stage('Record compiler warnings and static analysis results') {}}
          {{                    steps}}

          {{{                         recordIssues(tools: [java(), mavenConsole(), spotBugs(useRankAsPriority: true), pmdParser(), cpd(), checkStyle()])                         jacoco(                             execPattern: '**/target/**.exec',                             classPattern: '**/target/classes',                             sourceInclusionPattern: '**/src/main/java/**/*.java',                         )                     }}}

          {{                }}}

          Has anyone else got this problem?}}
          New: After upgrading the plugin from 9.22 to 10.1.0 all the graphs are emty. No result from recordIssues at all.  Here is the setup:

          {{post }}{{{}}
          {{    always }}{{{}}
          {{      recordIssues enabledForFailure: true,}}
          {{        healthy: 1,}}
          {{        tools: [}}
          {{          clang(id: 'scan-build', name: 'Xcode Analyze', pattern: "${IOS_DIR}/device/Iphone/PROD/build_release/scan-build.log"),}}
          {{          clang(name: 'Build')}}
          {{        ],}}
          {{{{        unhealthy: 10}}}}
          {{   }}}
          {{{{   success }}}}{{{             }}

          {{          echo 'Build succeeded'          
          }}{{   }}}

          {{{{   failure }}}}{{{}}

          {{          echo 'Build failed'}}

          {{   }}}

          {{}}}

           

          and another configuration example:

          {{{{stage('Record compiler warnings and static analysis results') {  }}
          {{  steps }}}}{{{
          }}{{    recordIssues(tools: [java(), mavenConsole(), spotBugs(useRankAsPriority: true), pmdParser(), cpd(), checkStyle()])                         jacoco(                        execPattern: '**/target/**.exec',
          }}{{    classPattern: '**/target/classes',   
          }}{{    sourceInclusionPattern: '**/src/main/java/**/*.java',)                     }}}

          {{}}}}

          {{{\{                }}}}}

          Has anyone else got this problem?}}
          Kent Granström made changes -
          Description Original: After upgrading the plugin from 9.22 to 10.1.0 all the graphs are emty. No result from recordIssues at all.  Here is the setup:

          {{post }}{{{}}
          {{    always }}{{{}}
          {{      recordIssues enabledForFailure: true,}}
          {{        healthy: 1,}}
          {{        tools: [}}
          {{          clang(id: 'scan-build', name: 'Xcode Analyze', pattern: "${IOS_DIR}/device/Iphone/PROD/build_release/scan-build.log"),}}
          {{          clang(name: 'Build')}}
          {{        ],}}
          {{{{        unhealthy: 10}}}}
          {{   }}}
          {{{{   success }}}}{{{             }}

          {{          echo 'Build succeeded'          
          }}{{   }}}

          {{{{   failure }}}}{{{}}

          {{          echo 'Build failed'}}

          {{   }}}

          {{}}}

           

          and another configuration example:

          {{{{stage('Record compiler warnings and static analysis results') {  }}
          {{  steps }}}}{{{
          }}{{    recordIssues(tools: [java(), mavenConsole(), spotBugs(useRankAsPriority: true), pmdParser(), cpd(), checkStyle()])                         jacoco(                        execPattern: '**/target/**.exec',
          }}{{    classPattern: '**/target/classes',   
          }}{{    sourceInclusionPattern: '**/src/main/java/**/*.java',)                     }}}

          {{}}}}

          {{{\{                }}}}}

          Has anyone else got this problem?}}
          New: After upgrading the plugin from 9.22 to 10.1.0 all the graphs are emty. No result from recordIssues at all.  Here is the setup:

          {{{{post }}{{{}}}}
          {{{{    always }}{{{}}}}
          {{{{      recordIssues enabledForFailure: true,}}}}
          {{{{        healthy: 1,}}}}
          {{{{        tools: [}}}}
          {{{{          clang(id: 'scan-build', name: 'Xcode Analyze', pattern: "${IOS_DIR}/device/Iphone/PROD/build_release/scan-build.log"),}}}}
          {{{{          clang(name: 'Build')}}}}
          {{{{        ],}}}}
          {{{{{{{}        unhealthy: 10{}}}}}}}
          {{{{   }}}}}
          {{{\{{{   success }}}}\{{{             }}}}

          {{{{          echo 'Build succeeded'          }}
          {{}}{{   }}}}}

          {{{{{{   failure }}}}{{{}}}}

          {{{{          echo 'Build failed'}}}}

          {{{{   }}}}}

          {{{{}}}}}

           

          and another configuration example:

           

          {\\{                }

          }}}}

          Has anyone else got this problem?}}
          Kent Granström made changes -
          Description Original: After upgrading the plugin from 9.22 to 10.1.0 all the graphs are emty. No result from recordIssues at all.  Here is the setup:

          {{{{post }}{{{}}}}
          {{{{    always }}{{{}}}}
          {{{{      recordIssues enabledForFailure: true,}}}}
          {{{{        healthy: 1,}}}}
          {{{{        tools: [}}}}
          {{{{          clang(id: 'scan-build', name: 'Xcode Analyze', pattern: "${IOS_DIR}/device/Iphone/PROD/build_release/scan-build.log"),}}}}
          {{{{          clang(name: 'Build')}}}}
          {{{{        ],}}}}
          {{{{{{{}        unhealthy: 10{}}}}}}}
          {{{{   }}}}}
          {{{\{{{   success }}}}\{{{             }}}}

          {{{{          echo 'Build succeeded'          }}
          {{}}{{   }}}}}

          {{{{{{   failure }}}}{{{}}}}

          {{{{          echo 'Build failed'}}}}

          {{{{   }}}}}

          {{{{}}}}}

           

          and another configuration example:

           

          {\\{                }

          }}}}

          Has anyone else got this problem?}}
          New: After upgrading the plugin from 9.22 to 10.1.0 all the graphs are emty. No result from recordIssues at all.  Here is the setup:

          {{{{{}post }}{{{}}}}
          {{{{{}    always }}{{{}}}}
          {{{{{}      recordIssues enabledForFailure: true,{}}}}}
          {{{{{}        healthy: 1,{}}}}}
          {{{{{}        tools: [{}}}}}
          {{{{{}          clang(id: 'scan-build', name: 'Xcode Analyze', pattern: "${IOS_DIR}/device/Iphone/PROD/build_release/scan-build.log"),{}}}}}
          {{{{{}          clang(name: 'Build'){}}}}}
          {{{{{}        ],{}}}}}
          {{{{{{{}        unhealthy: 10{}}}}}}}
          {{{{   }}}}}
          {\{{{{{   success }}}}\{{{             }}}}

          {{{{          echo 'Build succeeded'          }}
          {{}}{{   }}}}}

          {{{{{{{}   failure }}}}{{{}}}}

          {{{{{}          echo 'Build failed'{}}}}}

          {{{{   }}}}}

          {{{{}}{}}}}

           

          and another configuration example:

          {{                stage('Record compiler warnings and static analysis results') {
                              steps {
                                  recordIssues(tools: [java(), mavenConsole(), spotBugs(useRankAsPriority: true), pmdParser(), cpd(), checkStyle()])
                                  jacoco(
                                      execPattern: '**/target/**.exec',
                                      classPattern: '**/target/classes',
                                      sourceInclusionPattern: '**/src/main/java/**/*.java',
                                  )
                              }
                          }
          }}

           

          Has anyone else got this problem?}}
          Kent Granström made changes -
          Description Original: After upgrading the plugin from 9.22 to 10.1.0 all the graphs are emty. No result from recordIssues at all.  Here is the setup:

          {{{{{}post }}{{{}}}}
          {{{{{}    always }}{{{}}}}
          {{{{{}      recordIssues enabledForFailure: true,{}}}}}
          {{{{{}        healthy: 1,{}}}}}
          {{{{{}        tools: [{}}}}}
          {{{{{}          clang(id: 'scan-build', name: 'Xcode Analyze', pattern: "${IOS_DIR}/device/Iphone/PROD/build_release/scan-build.log"),{}}}}}
          {{{{{}          clang(name: 'Build'){}}}}}
          {{{{{}        ],{}}}}}
          {{{{{{{}        unhealthy: 10{}}}}}}}
          {{{{   }}}}}
          {\{{{{{   success }}}}\{{{             }}}}

          {{{{          echo 'Build succeeded'          }}
          {{}}{{   }}}}}

          {{{{{{{}   failure }}}}{{{}}}}

          {{{{{}          echo 'Build failed'{}}}}}

          {{{{   }}}}}

          {{{{}}{}}}}

           

          and another configuration example:

          {{                stage('Record compiler warnings and static analysis results') {
                              steps {
                                  recordIssues(tools: [java(), mavenConsole(), spotBugs(useRankAsPriority: true), pmdParser(), cpd(), checkStyle()])
                                  jacoco(
                                      execPattern: '**/target/**.exec',
                                      classPattern: '**/target/classes',
                                      sourceInclusionPattern: '**/src/main/java/**/*.java',
                                  )
                              }
                          }
          }}

           

          Has anyone else got this problem?}}
          New: After upgrading the plugin from 9.22 to 10.1.0 all the graphs are emty. No result from recordIssues at all. 

          Here is the setup:

          {{    post
              {
                  always
                  {
                      recordIssues enabledForFailure: true,
                          healthy: 1,
                          tools: [
                              clang(id: 'scan-build', name: 'Xcode Analyze', pattern: "${PROD_IOS_DIR}/device/Iphone/PROD/build_release/scan-build.log"),
                              clang(name: 'Build')
                          ],
                          unhealthy: 10
                  }
                  success
                  {
                      echo 'Build succeeded'
                  }
                  failure
                  {
                      echo 'Build failed'
                  }
              }}}

          and another configuration example:

          {{                stage('Record compiler warnings and static analysis results') {
                              steps

          {                         recordIssues(tools: [java(), mavenConsole(), spotBugs(useRankAsPriority: true), pmdParser(), cpd(), checkStyle()])                         jacoco(                             execPattern: '**/target/**.exec',                             classPattern: '**/target/classes',                             sourceInclusionPattern: '**/src/main/java/**/*.java',                         )                     }

                          }
          }}

           

          Has anyone else got this problem?}}
          Kent Granström made changes -
          Description Original: After upgrading the plugin from 9.22 to 10.1.0 all the graphs are emty. No result from recordIssues at all. 

          Here is the setup:

          {{    post
              {
                  always
                  {
                      recordIssues enabledForFailure: true,
                          healthy: 1,
                          tools: [
                              clang(id: 'scan-build', name: 'Xcode Analyze', pattern: "${PROD_IOS_DIR}/device/Iphone/PROD/build_release/scan-build.log"),
                              clang(name: 'Build')
                          ],
                          unhealthy: 10
                  }
                  success
                  {
                      echo 'Build succeeded'
                  }
                  failure
                  {
                      echo 'Build failed'
                  }
              }}}

          and another configuration example:

          {{                stage('Record compiler warnings and static analysis results') {
                              steps

          {                         recordIssues(tools: [java(), mavenConsole(), spotBugs(useRankAsPriority: true), pmdParser(), cpd(), checkStyle()])                         jacoco(                             execPattern: '**/target/**.exec',                             classPattern: '**/target/classes',                             sourceInclusionPattern: '**/src/main/java/**/*.java',                         )                     }

                          }
          }}

           

          Has anyone else got this problem?}}
          New: After upgrading the plugin from 9.22 to 10.1.0 all the graphs are emty. No result from recordIssues at all. 

          Here is the setup:
          {code:java}
              {
                  always
                  {
                      recordIssues enabledForFailure: true,
                          healthy: 1,
                          tools: [
                              clang(id: 'scan-build', name: 'Xcode Analyze', pattern: "${PROD_IOS_DIR}/device/Iphone/PROD/build_release/scan-build.log"),
                              clang(name: 'Build')
                          ],
                          unhealthy: 10
                  }
                  success
                  {
                      echo 'Build succeeded'
                  }
                  failure
                  {
                      echo 'Build failed'
                  }
              } {code}
           

          and another configuration example:
          {code:java}
          // code placeholder
            stage('Record compiler warnings and static analysis results') {
              steps {
            recordIssues(tools: [java(), mavenConsole(), spotBugs(useRankAsPriority: true), pmdParser(), cpd(), checkStyle()])
                jacoco(
                execPattern: '**/target/**.exec',
                  classPattern: '**/target/classes',
                  sourceInclusionPattern: '**/src/main/java/**/*.java',
                )
              }
            }
          {code}
           

          Has anyone else got this problem?}}
          Kent Granström made changes -
          Description Original: After upgrading the plugin from 9.22 to 10.1.0 all the graphs are emty. No result from recordIssues at all. 

          Here is the setup:
          {code:java}
              {
                  always
                  {
                      recordIssues enabledForFailure: true,
                          healthy: 1,
                          tools: [
                              clang(id: 'scan-build', name: 'Xcode Analyze', pattern: "${PROD_IOS_DIR}/device/Iphone/PROD/build_release/scan-build.log"),
                              clang(name: 'Build')
                          ],
                          unhealthy: 10
                  }
                  success
                  {
                      echo 'Build succeeded'
                  }
                  failure
                  {
                      echo 'Build failed'
                  }
              } {code}
           

          and another configuration example:
          {code:java}
          // code placeholder
            stage('Record compiler warnings and static analysis results') {
              steps {
            recordIssues(tools: [java(), mavenConsole(), spotBugs(useRankAsPriority: true), pmdParser(), cpd(), checkStyle()])
                jacoco(
                execPattern: '**/target/**.exec',
                  classPattern: '**/target/classes',
                  sourceInclusionPattern: '**/src/main/java/**/*.java',
                )
              }
            }
          {code}
           

          Has anyone else got this problem?}}
          New: After upgrading the plugin from 9.22 to 10.1.0 all the graphs are emty. No result from recordIssues at all. 

          Here is the setup:
          {code:java}
              post {
                  always
                  {
                      recordIssues enabledForFailure: true,
                          healthy: 1,
                          tools: [
                              clang(id: 'scan-build', name: 'Xcode Analyze', pattern: "${PROD_IOS_DIR}/device/Iphone/PROD/build_release/scan-build.log"),
                              clang(name: 'Build')
                          ],
                          unhealthy: 10
                  }
                  success
                  {
                      echo 'Build succeeded'
                  }
                  failure
                  {
                      echo 'Build failed'
                  }
              } {code}
           

          and another configuration example:
          {code:java}
          // code placeholder
            stage('Record compiler warnings and static analysis results') {
              steps {
            recordIssues(tools: [java(), mavenConsole(), spotBugs(useRankAsPriority: true), pmdParser(), cpd(), checkStyle()])
                jacoco(
                execPattern: '**/target/**.exec',
                  classPattern: '**/target/classes',
                  sourceInclusionPattern: '**/src/main/java/**/*.java',
                )
              }
            }
          {code}
           

          Has anyone else got this problem?}}
          Kent Granström made changes -
          Summary Original: All graphs are empty New: All trend graphs are empty
          Ulli Hafner made changes -
          Link New: This issue duplicates JENKINS-71236 [ JENKINS-71236 ]

            drulli Ulli Hafner
            kengra1 Kent Granström
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: