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

HOME Env variable is NOT SET in Build Shell Command

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • build-flow-plugin
    • None
    • OS : Cent OS and windows

      With Build Shell Command the HOME Env variable is not set & hence some of the CLI tools like Bower Package Management is not Working.
      Need to Manually Set the $HOME in order to run the bower cli tool.
      Discussion on :
      https://github.com/bower/bower/issues/525

      Sample :

      #!/bin/bash -xl
      export HOME="/root"
      echo $HOME
      bower install

            Unassigned Unassigned
            satatwork Satadru Bhattacharjee
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: