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

Provide retry option to Android-emulator plugin when the emulator fails to boot

    Details

    • Similar Issues:

      Description

      The android-emulator plugin can occasionally fail to boot the emulator. In that case, it should provide an option to let the user specify how many times the plugin should retry booting the emulator before marking the job as NOT_BUILT. It's really bothering me now. The job is NOT_BUILT once or twice every 100 runs. Not very high chance, but in CI you don't want any non-code problems fail your pipeline.

        Attachments

          Activity

          Hide
          samxiao Sam Xiao added a comment -

          +1 for this feature

          Show
          samxiao Sam Xiao added a comment - +1 for this feature
          Hide
          orrc Christopher Orr added a comment -

          There are many reasons why starting the emulator can fail, and I don't think the plugin can say for certainty in all cases that it's just a transient problem.

          I would rather leave functionality like this to existing plugins (like https://wiki.jenkins-ci.org/display/JENKINS/Naginator+Plugin) rather than build this type of functionality into each plugin.

          Show
          orrc Christopher Orr added a comment - There are many reasons why starting the emulator can fail, and I don't think the plugin can say for certainty in all cases that it's just a transient problem. I would rather leave functionality like this to existing plugins (like https://wiki.jenkins-ci.org/display/JENKINS/Naginator+Plugin ) rather than build this type of functionality into each plugin.

            People

            • Assignee:
              orrc Christopher Orr
              Reporter:
              k76154 JY Hsu
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: