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

offer the generated AVD name for the current build process even in matrix-builds

      It would be nice, if the android plugin offers the generated avd name as a build property. So it can be used to use in the maven call, so a specific emulator will be passed in as parameter. otherwise the maven plugin will use every running emulator.

          [JENKINS-12561] offer the generated AVD name for the current build process even in matrix-builds

          The plugin already offers a number of properties.

          https://wiki.jenkins-ci.org/display/JENKINS/Android+Emulator+Plugin#AndroidEmulatorPlugin-Buildexecution

          I currently pass

          -Dandroid.device=${ANDROID_AVD_DEVICE}
          

          to my Maven builds (both matrix and non-matrix) and the parameters get passed correctly in a snapshot build of 2.1 (I haven't upgraded to the released 2.1 yet).

          Richard Mortimer added a comment - The plugin already offers a number of properties. https://wiki.jenkins-ci.org/display/JENKINS/Android+Emulator+Plugin#AndroidEmulatorPlugin-Buildexecution I currently pass -Dandroid.device=${ANDROID_AVD_DEVICE} to my Maven builds (both matrix and non-matrix) and the parameters get passed correctly in a snapshot build of 2.1 (I haven't upgraded to the released 2.1 yet).

          Hasan Hosgel added a comment -

          the maven plugin don't likes the avd name. After using the ANDROID_SERIAL, it runs properly. otherwise the tests wasn't executed.

          Hasan Hosgel added a comment - the maven plugin don't likes the avd name. After using the ANDROID_SERIAL, it runs properly. otherwise the tests wasn't executed.

            orrc Christopher Orr
            alosdev Hasan Hosgel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: