RKarunarathne997322 (Community Member) asked a question.

/tmp/srcclr/jre/bin/java: No such file or directory

Hi,

We have setup Veracode SCA scan using jenkins and its failing time to time by giving an error as below,

"/tmp/srcclr/bin/srcclr: line 131: /tmp/srcclr/jre/bin/java: No such file or directory"

 

But once we remove the /tmp/srcclr/ folder and re run the command "curl -sSL https://download.sourceclear.com/ci.sh | sh" scan is working as expected.

 

Have Anyone experienced a similar issue?

 

Thanks & Regards

Rajitha


  • Hello @RKarunarathne997322 (Community Member)​ ,

     

    A suggestion that you might try is to delete the workspace in Jenkins prior to the build, so it might remove the tmp files prior to running the pipeline. (See screenshot below)

    Jenkins Build Env 

    Jason

    Veracode Support Engineer

    Expand Post

Topics (2)

No articles found
Loading

Ask the Community

Get answers, share a use case, discuss your favorite features, or get input from the community.