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

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


      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.

            orrc Christopher Orr
            jorgenpt Jørgen Tjernø
            0 Vote for this issue
            0 Start watching this issue