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

Android Lint Plugin does nothing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: android-lint-plugin
    • Labels:
      None
    • Environment:
      Android Lint Plugin version 1.0.1
      Static Analysis Utilities 1.43
      Jenkins version 1.477
    • Similar Issues:

      Description

      The plugin does nothing. It doesn't contribute to the logged output, it doesn't add the link to the menu.
      The only mention in the Jenkins log is from the install:
      WARNING: Adding dependent install of analysis-core for plugin android-lint
      INFO: Attempting to dynamic load /var/lib/jenkins/plugins/android-lint.jpi
      INFO: Plugin android-lint dynamically installed

        Attachments

          Activity

          Hide
          hakan Hakan Tandogan added a comment -

          I'm running the android:lint goal of the maven plugin version 3.5.1.

          On the other hand, I just realized while looking at my logs that with my multi-module project, only the top level parent project is analyzed, but not the submodules which hold the real code and AndroidManifest files... Need to investigate further.

          Show
          hakan Hakan Tandogan added a comment - I'm running the android:lint goal of the maven plugin version 3.5.1. On the other hand, I just realized while looking at my logs that with my multi-module project, only the top level parent project is analyzed, but not the submodules which hold the real code and AndroidManifest files... Need to investigate further.
          Hide
          orrc Christopher Orr added a comment -

          Yeah, I think it could be an issue with the Maven plugin: https://code.google.com/p/maven-android-plugin/issues/detail?id=224#c17

          Show
          orrc Christopher Orr added a comment - Yeah, I think it could be an issue with the Maven plugin: https://code.google.com/p/maven-android-plugin/issues/detail?id=224#c17
          Hide
          orrc Christopher Orr added a comment -

          Ok, I'm going to merge this and do a release soon.

          Show
          orrc Christopher Orr added a comment - Ok, I'm going to merge this and do a release soon.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Christopher Orr
          Path:
          src/main/java/org/jenkinsci/plugins/android_lint/LintReporter.java
          http://jenkins-ci.org/commit/android-lint-plugin/16db36fb0a59455802a13bdd650434574d27c187
          Log:
          [FIXED JENKINS-14857] Support the 'lint' goal used by the Android Maven Plugin.

          Android Maven Plugin 3.5.1 or newer is required for Lint support.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christopher Orr Path: src/main/java/org/jenkinsci/plugins/android_lint/LintReporter.java http://jenkins-ci.org/commit/android-lint-plugin/16db36fb0a59455802a13bdd650434574d27c187 Log: [FIXED JENKINS-14857] Support the 'lint' goal used by the Android Maven Plugin. Android Maven Plugin 3.5.1 or newer is required for Lint support.
          Hide
          orrc Christopher Orr added a comment -

          Version 2.1 has been released, which includes this update.

          Show
          orrc Christopher Orr added a comment - Version 2.1 has been released, which includes this update.

            People

            • Assignee:
              orrc Christopher Orr
              Reporter:
              willcode4beer Paul Davis
            • Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: