CAST HIGHLIGHT - Analyzer - Jenkins - HLAutomation.log’ for reading: No such file or directory

User is getting an error "tail: cannot open ‘/apps/jenkins/pipeline-worker/workspace/jenkins-
build12/Utilities/CASTHighlightScan/HighlightBatchScan/xxxx/xxxx/HLAutomation.log’ for reading: No such file or directory" while trying to move the current scan process to New Jenkins Environment.

Solution

  1. Instead of giving the complete path for the workingdir as
    /apps/jenkins/pipeline-worker/workspace/jenkins-
    build12/Utilities/CASTHighlightScan/HighlightBatchScan/xxxx/xxxx/HLAutomation.log                       
    in your build,  instead you should just give the path of the directory and it will create the HLAutomation.log inside the workingDir
  2. Check whether the required Perl modules on the machine is installed. See README of the Command Line. 
  3. Try with a recent version of the command line. It is recommended to keep the CLI up to date with recent versions as  newer versions will have new fixes, new technologies, new patterns.

Related Articles

CAST HIGHLIGHT - Analyzer - Discovery Step - Scan in Jenkins is failing with an error "Discovery child process failed with exit status 2"

Highlight Automated Code Scan (Command Line)

Details

28729

 

 

Have more questions? Submit a request

Comments

Powered by Zendesk