Re: ERROR: exec: /usr/bin/java/bin/java: cannot execute: Not a directory

2020-06-17 Thread 'Dirk Heinrichs' via Jenkins Users
Am Dienstag, den 16.06.2020, 07:35 -0700 schrieb Jagadeesh YENNE: > /mnt/block_device/jenkins1/workspace/MFT-Frontend/MFT-Frontend-CI- > Dev-UpdatedNode/mft-frontend/node_modules/sonar-scanner/bin/sonar- > scanner: line 59: /usr/bin/java/bin/java: Not a > directory/mnt/block_device/jenkins1/worksp

Re: ERROR: exec: /usr/bin/java/bin/java: cannot execute: Not a directory

2020-06-17 Thread chencho m-a
The error says that java is not a directory. Maybe you have your classpath pointing to binary instead of the directory El martes, 16 de junio de 2020, 19:41:01 (UTC+2), Jagadeesh YENNE escribió: > > Hi All, > > > While I am running sonar-scanner job, I am getting below error, could someone > sug

Re: ERROR: exec: /usr/bin/java/bin/java: cannot execute: Not a directory

2020-06-17 Thread Jagadeesh Yenne
Our slave nodes are being used by 2(old & new) master servers, Jenkins job is successful when we trigger the build from old server (with jenkins user ) but failed with new jenkins master (with jenkins1 user) I have checked java path and the user path both looks good. The below query is another

Re: ERROR: exec: /usr/bin/java/bin/java: cannot execute: Not a directory

2020-06-16 Thread Antonio Gomez
Hello, In global tools configuration check in JDK instalations if java path is correct. Check also $PATH from user that run this jobs El mar., 16 jun. 2020 a las 19:41, Jagadeesh YENNE () escribió: > Hi All, > > > While I am running sonar-scanner job, I am getting below error, could someone > su

ERROR: exec: /usr/bin/java/bin/java: cannot execute: Not a directory

2020-06-16 Thread Jagadeesh YENNE
Hi All, While I am running sonar-scanner job, I am getting below error, could someone suggest me how to proceed on it. [MFT-Frontend-CI-Dev-UpdatedNode] $ /bin/bash /tmp/jenkins1683394883835788984.sh Running Sonar > market-forecaster-frontend@0.0.0 sonar > /mnt/block_device/jenkins1/worksp