Skip to content

Commit

Permalink
Merge pull request #154 from csturiale/master
Browse files Browse the repository at this point in the history
add the possibility to download sonarqube cli behind proxy
  • Loading branch information
gabssnake authored Oct 25, 2022
2 parents 3e9c18d + 8bd6b0c commit cab4a3e
Show file tree
Hide file tree
Showing 4 changed files with 253 additions and 15 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,20 @@ or alternatively set variable in `.npmrc`
sonar_binary_cache=/Users/myaccount/cache
```

## Download behind proxy

In order to be able to download binaries when you're behind a proxy it will be enough to set http_proxy environment variable.

**Example:**
```shell
export http_proxy=http://mycompanyproxy.com:PORT
```

**Behind authenticated proxy:**
```shell
export http_proxy=http://user:password@mycompanyproxy.com:PORT
```

## License

`sonarqube-scanner` is licensed under the [LGPL v3 License](http://www.gnu.org/licenses/lgpl.txt).
Loading

0 comments on commit cab4a3e

Please sign in to comment.