You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ap...@apache.org on 2026/03/26 15:43:08 UTC

(camel-website) branch main updated: Fix build by adding yarn install step

This is an automated email from the ASF dual-hosted git repository.

apupier pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-website.git


The following commit(s) were added to refs/heads/main by this push:
     new 5ed6e019 Fix build by adding yarn install step
5ed6e019 is described below

commit 5ed6e019eb562f054c23f1ba93953a4630f6fd02
Author: Aurélien Pupier <ap...@ibm.com>
AuthorDate: Thu Mar 26 15:44:55 2026 +0100

    Fix build by adding yarn install step
    
    For unknown reason, the build started to fail on CI with this kind of
    error:
    
    ```
    + cd /home/jenkins/712657a4/workspace/Camel_Camel.website_main/camel-website
    
    + yarn clean
    
    Usage Error: Couldn't find the node_modules state file - running an
    install might help (findPackageLocation)
    ```
    
    following the indicated help fixes the build
    
    fixes #1545
    
    Signed-off-by: Aurélien Pupier <ap...@ibm.com>
---
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 8871b21b..3afe5048 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -55,7 +55,7 @@ pipeline {
             }
 
             steps {
-                sh "cd $WORKSPACE/camel-website && yarn clean && yarn workspaces foreach --all install; HUGO_PARAMS_GitHubUsername=$GITHUB_USR HUGO_PARAMS_GitHubToken=$GITHUB_PSW yarn build-all"
+                sh "cd $WORKSPACE/camel-website && yarn install && yarn clean && yarn workspaces foreach --all install; HUGO_PARAMS_GitHubUsername=$GITHUB_USR HUGO_PARAMS_GitHubToken=$GITHUB_PSW yarn build-all"
             }
         }