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

React to failed APK install

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Currently a failed APK install won't mark the build as failed - it likely should. Eg:

      [tmp] $ /home/foo/tools/android-sdk/platform-tools/adb -s localhost:55208 install -r benchmark.apk
      783 KB/s (62492 bytes in 0.077s)
      pkg: /data/local/tmp/benchmark.apk
      Failure [INSTALL_FAILED_OLDER_SDK]

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Christopher Orr
          Path:
          src/main/java/hudson/plugins/android_emulator/InstallBuilder.java
          src/main/resources/hudson/plugins/android_emulator/InstallBuilder/config.jelly
          src/main/webapp/help-failOnInstallFailure.html
          http://jenkins-ci.org/commit/android-emulator-plugin/59e2ec54506437d93054f86babe99b65b7ee2960
          Log:
          [FIXED JENKINS-13932] Build can now be failed if package installation fails.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christopher Orr Path: src/main/java/hudson/plugins/android_emulator/InstallBuilder.java src/main/resources/hudson/plugins/android_emulator/InstallBuilder/config.jelly src/main/webapp/help-failOnInstallFailure.html http://jenkins-ci.org/commit/android-emulator-plugin/59e2ec54506437d93054f86babe99b65b7ee2960 Log: [FIXED JENKINS-13932] Build can now be failed if package installation fails.
          Hide
          orrc Christopher Orr added a comment -

          Version 2.9 has been released, which includes this fix.

          You can now optionally decide whether failure to install a package should mark the build as failed.

          Show
          orrc Christopher Orr added a comment - Version 2.9 has been released, which includes this fix. You can now optionally decide whether failure to install a package should mark the build as failed.

            People

            • Assignee:
              orrc Christopher Orr
              Reporter:
              hamiltont Hamilton Turner
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: