Figured out it's an old issue with 2.10 release:

https://github.com/jenkinsci/android-emulator-plugin/blob/android-emulator-2.10/src/main/java/hudson/plugins/android_emulator/Constants.java#L49

   static final String REGEX_SNAPSHOT = "[0-9]+ +"+ SNAPSHOT_NAME +" +[0-9]+M ";


Since the regex looking for "M" (megabyte) and my snapshot is 1.0G. The 
regex fails and the snapshot is not found.

This has been fixed in the head.

On Tuesday, May 13, 2014 12:31:01 PM UTC-7, Charles Chan wrote:
>
> Thanks for the information.
>
> I try setting to "emulator-x86" again and I still get the same behaviour 
> from Jenkins:
> $ /opt/android-sdk-linux/tools/emulator-x86 -snapshot-list -no-window -avd 
> hudson_en-US_160_WVGA_android-19_x86
>
> [android] Starting Android emulator and creating initial snapshot
>
>
> However, if I execute from the command line, I can see the snapshot are 
> present:
>
> $ /opt/android-sdk-linux/tools/emulator-x86 -snapshot-list -no-window -avd 
> hudson_en-US_160_WVGA_android-19_x86
> Snapshots in file 
> '/home/jenkins/.android/avd/hudson_en-US_160_WVGA_android-19_x86.avd/snapshots.img':
>  ID        TAG                 VM SIZE                DATE       VM CLOCK
>  1         jenkins                1.0G 2014-05-13 12:11:26   00:07:51.870
>
>
> Any ideas?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to