Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-11887

Launching Tasks in the Background from Bamboo fails

XMLWordPrintable

    • 4
    • 14
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      In linux, users can make scripts or task to run in the background by appending an ampersand (&) to the script. This will let other task to run smoothly. We have tested this behaviour with the Android emulator in Bamboo where we created a script with the following:

      export ANDROID_HOME="/home/sultan/development/android-sdk-linux"
      export PATH=${PATH}:${ANDROID_HOME}/platform-tools:${ANDROID_HOME}/tools
      echo $PATH
      emulator -avd my_android1.5 -no-window -noaudio &
      echo $JAVA_HOME
      

      The task runs smoothly with the emulator started successfully but the build keeps on running for ever unless we manually kill the emulator. This causes the build to block other tasks from running.

              Unassigned Unassigned
              smaiyaki Sultan Maiyaki (Inactive)
              Votes:
              46 Vote for this issue
              Watchers:
              35 Start watching this issue

                Created:
                Updated: