Jenkins builds failing with a missing file error even though the file is there

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      I have a Jenkins server running and have a couple of builds that are all working. However, this morning when I tried to add another one it kept failing with the error -

      $ /bin/sh -xe /tmp/hudson7055290339554583413.sh
      + ./opt/jenkins/build.sh
      /tmp/hudson7055290339554583413.sh: line 2: /opt/jenkins/build.sh: No such file or directory
      Build step 'Execute shell' marked build as failure

      The shell script is at that path and has that name. If I make it ./opt/jenkins/build.sh it still fails with the same error. The command I have in the "Execute Shell" section in the "Command" text box is /opt/jenkins/build.sh. I tried ./opt/jenkins/build.sh as well.

      The script is on a CentOS system btw.

            Assignee:
            Unassigned
            Reporter:
            Lyon Clef
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: