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

Execute shell is terminated randomly

XMLWordPrintable

      After upgrading to 1.600 I am getting build errors on all jobs that has a "Execute shell" build step

      I tried downgrading to 1.599 and everything works there.
      I tried with both sh and bash
      It looks like the shell commands are terminated randomly in the middle of the run

      I tested with a very simple script like :

      sleep 59
      echo "sleep done"

      and got :

      Started by timer
      [EnvInject] - Loading node environment variables.
      Building remotely on cis01.coolsmsc.dk (swarm) in workspace /home/jenkinsslave/workspace/cron - test - test-no-php
      [cron - test - test-no-php] $ /bin/bash -xe /tmp/hudson4904788725429931154.sh
      + sleep 59
      /tmp/hudson4904788725429931154.sh: line 2: 19627 Terminated sleep 59
      Build step 'Execute shell' marked build as failure
      Finished: FAILURE

            johno Johno Crawford
            hmn Henrik Nicolaisen
            Votes:
            6 Vote for this issue
            Watchers:
            20 Start watching this issue

              Created:
              Updated:
              Resolved: