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

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

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          oldelvet 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).

          Show
          oldelvet 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).
          Hide
          alosdev 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.

          Show
          alosdev 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.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: