We have a Bamboo build Plan attempting to run frontend-maven-plugin to execute npm (node-npm-install). Attempts to pass the Nexus npm proxy URL like '-DproxyHost=proxy.url' have been unsuccessful. Our environment has no direct internet access so the builds have to go to internal Nexus for dependencies. It seems like params passed to Maven don't get passed to the plugin. Has anyone encountered this issue? Any help would be appreciated.
Bamboo log snippet below of the failed plugin run.
build 09-Apr-2024 11:29:29 [INFO] --- frontend-maven-plugin:1.15.0:install-node-and-npm (node-npm-install) @ radsAdminWeb --- build 09-Apr-2024 11:29:29 [INFO] Installing node version v20.11.0 build 09-Apr-2024 11:29:29 [INFO] Downloading https://nodejs.org/dist/v20.11.0/node-v20.11.0-win-x64.zip to C:\Users\SVC-GDIT-PROD-Bamboo\.m2\repository\com\github\eirslett\node\20.11.0\node-20.11.0-win-x64.zip build 09-Apr-2024 11:29:29 [INFO] No proxies configured build 09-Apr-2024 11:29:29 [INFO] No proxy was configured, downloading directly error 09-Apr-2024 11:29:29 Apr 09, 2024 11:29:29 AM org.apache.http.impl.execchain.RetryExec execute error 09-Apr-2024 11:29:29 INFO: I/O exception (java.net.SocketException) caught when processing request to {s}->https://nodejs.org:443: Connection reset error 09-Apr-2024 11:29:29 Apr 09, 2024 11:29:29 AM org.apache.http.impl.execchain.RetryExec execute error 09-Apr-2024 11:29:29 INFO: Retrying request to {s}->https://nodejs.org:443 error 09-Apr-2024 11:29:29 Apr 09, 2024 11:29:29 AM org.apache.http.impl.execchain.RetryExec execute error 09-Apr-2024 11:29:29 INFO: I/O exception (java.net.SocketException) caught when processing request to {s}->https://nodejs.org:443: Connection reset error 09-Apr-2024 11:29:29 Apr 09, 2024 11:29:29 AM org.apache.http.impl.execchain.RetryExec execute error 09-Apr-2024 11:29:29 INFO: Retrying request to {s}->https://nodejs.org:443 error 09-Apr-2024 11:29:29 Apr 09, 2024 11:29:29 AM org.apache.http.impl.execchain.RetryExec execute error 09-Apr-2024 11:29:29 INFO: I/O exception (java.net.SocketException) caught when processing request to {s}->https://nodejs.org:443: Connection reset error 09-Apr-2024 11:29:29 Apr 09, 2024 11:29:29 AM org.apache.http.impl.execchain.RetryExec execute error 09-Apr-2024 11:29:29 INFO: Retrying request to {s}->https://nodejs.org:443
Hello GSHerber
Welcome to Atlassian community.
Can you tell me which exact task you are using in Bamboo and in which field you are passing -DproxyHost=proxy.url the parameter?
If you can provide a screenshot it will be easy ti understand.
Regards,
Shashank Kumar
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.