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

Unable to use behind proxy server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • nvm-wrapper-plugin
    • None
    • Jenkins ver. 2.19.4, nvm-wrapper-plugin : 0.1.1

      Hello,
      when running a job with nvm-wrapper-plugin, it seems the install method of nvm does not recognize proxy settings:

      [NVM_POC] $ /opt/jboss/slave/workspace/Documentation/plugins/NVM_POC/nvm-installer
      => Downloading nvm from git to '/opt/jboss/.nvm'
      
      => Cloning into '/opt/jboss/.nvm'...
      fatal: unable to access 'https://github.com/creationix/nvm.git/': Could not resolve host: github.com; Name or service not known
      Failed to clone nvm repo. Please report this!
      $ bash -c "test -f ~/.nvm/nvm.sh"
      $ bash -c "test -f /usr/local/nvm/nvm.sh"
      [NVM_POC] $ bash -c "export > before.env"
      [NVM_POC] $ bash -c " source null && nvm install v6.9.2 && nvm use v6.9.2 && export > nvm.env"
      bash: null: No such file or directory
      FATAL: java.io.FileNotFoundException: /opt/jboss/slave/workspace/Documentation/plugins/NVM_POC/nvm.env (No such file or directory)
      

            atoms Tomas Salazar
            cpolzer Christian Polzer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: