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

Emulator snapshots impossible to use in job under android-emulator plugin

    Details

    • Similar Issues:

      Description

      It's impractical to use snapshots in your job when you're using the android-emulator plugin, as it has two modes of operating:
      a) android-emulator manages and loads a snapshot,
      b) android-emulator disables snapshot support.

      While it would be possible for the job itself to use snapshots in a (simply by using a different snapshot name), having more than a single snapshot in a snapshot.img is currently broken (as reported in http://code.google.com/p/android/issues/detail?id=15922 - though no update so far).
      This only leaves the possibility of disabling snapshots in android-emulator, but when you choose not to use snapshots it passes the -no-snapstorage, making snapshots unusable for any jobs running. Why was this design decision made - is there some gain to be had?

      I've attached a simple patch that simply disables this behavior in b, until android issue 15922 is resolved.

        Attachments

          Activity

            People

            • Assignee:
              orrc Christopher Orr
              Reporter:
              jorgenpt Jørgen Tjernø
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: