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

pre-step execute shell command in background sometimes fails silently

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • jenkins 1.6.50

      I need to start a H2 database as a pre-step. So I add an "execute shell" pre-step with the following content:

      java -Xmx64m -classpath ~/.m2/repository/com/h2database/h2/1.4.192/h2-1.4.192.jar org.h2.tools.Server -tcp -tcpPort 3139 &

      Sometimes this works fine (the database is started --> all tests green), sometimes this silently fails (database is not startet --> tests are red)

            Unassigned Unassigned
            sebastian_dietrich sebastian_dietrich
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: