Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Have a Bamboo build Plan attempting to run frontend-maven-plugin to execute npm (node-npm-install)

GSHerber April 11, 2024

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

 

1 answer

0 votes
Shashank Kumar
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 11, 2024

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.2.12
TAGS
AUG Leaders

Atlassian Community Events