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

FindBugs Cloud should be visible only to selected projects

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The findbugs details screens always show the cloud information links and new this weeks values. Since most of the users of this plug-in will not use the findbugs cloud this fields should be disabled by default. If a projects participates in the FindBugs cloud then the feature could be enabled (if possible automatically).

        Attachments

          Activity

          Hide
          teilo James Nord added a comment -

          it is also not clear what information this is sending to the cloud.

          For internal commercial projects this is concerning - especially when some users think "oh whats this do" and have an experiment.

          Show
          teilo James Nord added a comment - it is also not clear what information this is sending to the cloud. For internal commercial projects this is concerning - especially when some users think "oh whats this do" and have an experiment.
          Hide
          keithkml keithkml added a comment -

          It is our intention to only show Cloud info if you've configured the FindBugs ant task to use the Cloud. I'm not sure why it's showing up for you, please attach the findbugs xml output that produces this result as I mentioned at JENKINS-8235. Thanks!

          Show
          keithkml keithkml added a comment - It is our intention to only show Cloud info if you've configured the FindBugs ant task to use the Cloud. I'm not sure why it's showing up for you, please attach the findbugs xml output that produces this result as I mentioned at JENKINS-8235 . Thanks!
          Hide
          drulli Ulli Hafner added a comment -

          You get the result when running findbugs on the findbugs-plugin.

          E.g., checkout https://svn.java.net/svn/hudson~svn/trunk/hudson/plugins/findbugs

          Then run 'mvn clean install findbugs:findbugs'.

          Show
          drulli Ulli Hafner added a comment - You get the result when running findbugs on the findbugs-plugin. E.g., checkout https://svn.java.net/svn/hudson~svn/trunk/hudson/plugins/findbugs Then run 'mvn clean install findbugs:findbugs'.
          Hide
          drulli Ulli Hafner added a comment -

          Result of the analysis.

          Show
          drulli Ulli Hafner added a comment - Result of the analysis.
          Hide
          keithkml keithkml added a comment -

          This should be fixed - can you confirm?

          Show
          keithkml keithkml added a comment - This should be fixed - can you confirm?
          Hide
          keithkml keithkml added a comment -

          Well, I spoke too soon, I can't seem to authenticate with java.net. I've attached my patch.

          Show
          keithkml keithkml added a comment - Well, I spoke too soon, I can't seem to authenticate with java.net. I've attached my patch.
          Hide
          drulli Ulli Hafner added a comment - - edited

          The new Java.net password has been sent by Email. Did you also update to the new repository location, see http://wiki.jenkins-ci.org//x/CYBNAg.

          Show
          drulli Ulli Hafner added a comment - - edited The new Java.net password has been sent by Email. Did you also update to the new repository location, see http://wiki.jenkins-ci.org//x/CYBNAg .
          Hide
          keithkml keithkml added a comment -

          Committed! Please verify that this fixes the bug for you.

          Show
          keithkml keithkml added a comment - Committed! Please verify that this fixes the bug for you.
          Hide
          drulli Ulli Hafner added a comment - - edited

          Hi Keith, seems that now one test is failing:

          http://www.faktorzehn.org:8081/job/Hudson%20Plug-ins%20%28Compile%29/lastCompletedBuild/testReport/hudson.plugins.findbugs.parser/FindBugsParserTest/handleFileWithNotABugConsensus/

          BTW: when you are fixing a bug, can you please add [JENKINS-8236] to the commit comment, then the SVN version will be automatically linked with the corresponding Jira Bug.

          Show
          drulli Ulli Hafner added a comment - - edited Hi Keith, seems that now one test is failing: http://www.faktorzehn.org:8081/job/Hudson%20Plug-ins%20%28Compile%29/lastCompletedBuild/testReport/hudson.plugins.findbugs.parser/FindBugsParserTest/handleFileWithNotABugConsensus/ BTW: when you are fixing a bug, can you please add [ JENKINS-8236 ] to the commit comment, then the SVN version will be automatically linked with the corresponding Jira Bug.
          Hide
          keithkml keithkml added a comment -

          I'm trying to upload a new FindBugs that fixes this problem. But because of the SVN change, it's not working anymore. I run:

          mvn deploy:deploy-file -Durl=java-net:/maven2-repository/trunk/repository/ -DrepositoryId=maven2-repository.dev.java.net -Dfile=findbugs-full-2.0.0-dev-20101217.jar -DpomFile=upload-pom.xml

          and get this:

          [INFO] Error deploying artifact: Connection failed: Unable to connect to https://svn.dev.java.net/svn/maven2-repository/trunk/repository/

          Show
          keithkml keithkml added a comment - I'm trying to upload a new FindBugs that fixes this problem. But because of the SVN change, it's not working anymore. I run: mvn deploy:deploy-file -Durl=java-net:/maven2-repository/trunk/repository/ -DrepositoryId=maven2-repository.dev.java.net -Dfile=findbugs-full-2.0.0-dev-20101217.jar -DpomFile=upload-pom.xml and get this: [INFO] Error deploying artifact: Connection failed: Unable to connect to https://svn.dev.java.net/svn/maven2-repository/trunk/repository/
          Show
          drulli Ulli Hafner added a comment - See: http://hudson.361315.n4.nabble.com/Unable-to-deploy-plugin-to-repo-tp3093159p3093159.html
          Hide
          drulli Ulli Hafner added a comment -

          Keith, I think the issue is fixed now. At least the corresponding plug-in build does not show the icon anymore.

          Can you please have a look at: http://www.faktorzehn.org:8081/job/Hudson%20Plug-ins/156/findbugsResult/source.17/#266
          Seems that you are dereferencing a possible null value.

          Can you please check if you can upload the new version now? I think the repo is fixed again.

          Show
          drulli Ulli Hafner added a comment - Keith, I think the issue is fixed now. At least the corresponding plug-in build does not show the icon anymore. Can you please have a look at: http://www.faktorzehn.org:8081/job/Hudson%20Plug-ins/156/findbugsResult/source.17/#266 Seems that you are dereferencing a possible null value. Can you please check if you can upload the new version now? I think the repo is fixed again.
          Hide
          keithkml keithkml added a comment -

          I don't know why, but it just doesn't work. I tried adding -DaltDeploymentRepository=java.net-m2-repository::default::http://maven.hudson-labs.org:8081/content/repositories/releases/ and it still says:

          [INFO] Error deploying artifact: Connection failed: Unable to connect to https://svn.dev.java.net/svn/maven2-repository/trunk/repository/

          I looked at the NPE and I don't see where the error is...and I can't reproduce the warning locally...

          Show
          keithkml keithkml added a comment - I don't know why, but it just doesn't work. I tried adding -DaltDeploymentRepository=java.net-m2-repository::default:: http://maven.hudson-labs.org:8081/content/repositories/releases/ and it still says: [INFO] Error deploying artifact: Connection failed: Unable to connect to https://svn.dev.java.net/svn/maven2-repository/trunk/repository/ I looked at the NPE and I don't see where the error is...and I can't reproduce the warning locally...
          Hide
          drulli Ulli Hafner added a comment -

          Fixed in 4.17.

          Show
          drulli Ulli Hafner added a comment - Fixed in 4.17.

            People

            • Assignee:
              keithkml keithkml
              Reporter:
              drulli Ulli Hafner
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: