Unable to run script.sh using "Execute shell script on remote host using ssh"

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

XMLWordPrintable

    • Type: Bug
    • Resolution: Not A Defect
    • Priority: Blocker
    • Component/s: _unsorted
    • Environment:
      This is Jenkins ver. 2.19.1 which is installed on a CentOS 6.6 server. The slave node is a CentOS 6.6 server.

      Jenkins can execute jobs to start and stop the slave node (Linux 6 server) successfully. However, when I create a job to run the setup.sh to install a patch on the slave node, it runs forever when I execute the build job:
      The details in the Build:
      "
      Execute shell script on remote host using ssh
      SSH site: root@hostname:22
      Command

      export DISPLAY=:11.0

      cd /path-to-file/
      ./setup.sh
      "
      It runs forever.

      I also try a few ways such as these commands:

      cd /path-to-file/
      sh setup.sh
      or
      /path-to-file/setup.sh
      or
      /path-to-file/setup.sh -Dcbif.install.zip=/path-to-file/patch.zip -Dcbif.install.quiet=true

      Please give your advice,
      Thank you

            Assignee:
            Oleg Nenashev
            Reporter:
            Jimmy
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: