Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store yarn and nodejs artificat at download.eclipse.org for jenkins build. #1484

Merged
merged 1 commit into from
Aug 22, 2023

Conversation

sbernard31
Copy link
Contributor

Problem :
Sometime on CI jenkins instance we face some trouble to download nodejs or yarn with frontend-maven-plugin.

This kind of error :

  • [ERROR] The archive file /home/jenkins/.m2/repository/com/github/eirslett/node/12.22.5/node-12.22.5-linux-x64.tar.gz is corrupted and will be deleted. Please try the build again.
  • [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.13.4:install-node-and-yarn (install node and yarn) on project leshan-server-demo: Could not download Node.js: Got error code 500 from the server. -> [Help 1]

The solution proposed was to :

I would recommend to download the node archive from another mirror or store it in the Leshan download directory on download.eclipse.org

This could maybe also make the build faster limiting this old issue.

Solution :
This PR aims to cache yarn and node binaries to https://download.eclipse.org/leshan/build/mirror/.

Documentation:

@sbernard31 sbernard31 merged commit ad7fb88 into master Aug 22, 2023
@sbernard31 sbernard31 deleted the cache_yarn_node branch August 22, 2023 14:49
mgdlkundera pushed a commit to JaroslawLegierski/leshan that referenced this pull request Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant