Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Pipeline build fails error 500 Maven Java Project

Sidali DIOUANI
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 2, 2023

Hello,

We sometimes face connection instability on our build pipelines, 


[INFO] BUILD FAILURE

4925
[INFO] ------------------------------------------------------------------------
4926
[INFO] Total time: 04:32 min (Wall Clock)
4927
[INFO] Finished at: 2023-11-02T09:37:44Z
4928
[INFO] ------------------------------------------------------------------------
4929
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.12.1:install-node-and-npm (install node and npm) on project webapp-consultation-intranet: Could not download Node.js: Got error code 500 from the server. -> [Help 1]
4930
[ERROR]
4931
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
4932
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
4933
[ERROR]
4934
[ERROR] For more information about the errors and possible solutions, please read the following articles:
4936
[ERROR]
4937
[ERROR] After correcting the problems, you can resume the build with the command
4938
[ERROR] mvn <goals> -rf :webapp-consultation-intranet
------------------------------------------------------------------------------------------------------------------------------


It's a maven java based project, the build passes 99% of the time but we do face this kind of error every now and then, I checked the existance of the library artifact in our S3 bucket and it is there and available ...

Thanks for the help,

regards,

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 6, 2023

Hi Sidali and welcome to the community!

The output shows that the build is trying to connect to a server to install node and npm and this server responds with a 500 status code. It is possible that it is overloaded at certain times and returns this 500 error.

I would suggest reaching out to the support team of the server you are trying to connect to for more details, as the error comes from this server and not from Pipelines.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events