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

can't run pipline job on older OS

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Duplicate
    • Component/s: durable-task-plugin
    • Labels:
      None
    • Environment:
      centos7 master
      jenkins version: 2.40
      durable-task: 1.13
      agent: SUSE Linux Enterprise Server 10 SP2 (i586)
    • Similar Issues:

      Description

      When I try to run

      node('suse10'){
          sh 'env'
      }
      

      I get

      nohup: cannot run command `sh': No such file or directory
      

      I'm suspecting durable tasks because this worked yesterday(with durable 1.12), and I rebooted my server with 2 updates, a git one, and durable tasks. The git checkout works on the agent, just not the sh call

        Attachments

          Issue Links

            Activity

            Hide
            aflat aflat added a comment -

            If I roll back to durable task 1.12 I do not see this error.

            Show
            aflat aflat added a comment - If I roll back to durable task 1.12 I do not see this error.
            Hide
            dcendents Daniel Beland added a comment -

            I have the same error on both master and slaves

            nohup: failed to run command `sh': No such file or directory

            master is Jenkins 2.32.1 running on Ubuntu 14.04.2
            slave is Ubuntu 16.04.1

            everything works fine with durable task 1.12

            Show
            dcendents Daniel Beland added a comment - I have the same error on both master and slaves nohup: failed to run command `sh': No such file or directory master is Jenkins 2.32.1 running on Ubuntu 14.04.2 slave is Ubuntu 16.04.1 everything works fine with durable task 1.12
            Hide
            danielbeck Daniel Beck added a comment -

            Resolving as duplicate in favor of the other issue with more accurate title and more watchers.

            Show
            danielbeck Daniel Beck added a comment - Resolving as duplicate in favor of the other issue with more accurate title and more watchers.

              People

              • Assignee:
                Unassigned
                Reporter:
                aflat aflat
              • Votes:
                2 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: