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

Android Lint Plugin does nothing

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • android-lint-plugin
    • None
    • Android Lint Plugin version 1.0.1
      Static Analysis Utilities 1.43
      Jenkins version 1.477

    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

          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.

          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.

          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

          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

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

          orrc Christopher Orr added a comment - Ok, I'm going to merge this and do a release soon.

          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.

          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.

          Version 2.1 has been released, which includes this update.

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

          People

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

            Dates

              Created:
              Updated:
              Resolved: