Home > front end >  Jenkins automatic packing build time meet always run the program "node" : the error=2, No
Jenkins automatic packing build time meet always run the program "node" : the error=2, No

Time:05-11

INFO: Sensor SonarCSS Metrics [cssfamily]
INFO: 0/0 source files have had been analyzed
INFO: Sensor SonarCSS Metrics [cssfamily] (done) | time=5223 ms
INFO: Sensor SonarCSS Rules [cssfamily]
ERROR: the CSS rules were not executed. The ERROR when running: 'node - v) Is the node. Js available during analysis?
Org. Sonarsource. Nodejs. NodeCommandException: Error when running: 'node - v) Is the node. Js available during analysis?
The at org. Sonarsource. Nodejs. NodeCommand. Start (NodeCommand. Java: 83)
The at org. Sonarsource. Nodejs. NodeCommandBuilderImpl. GetVersion (NodeCommandBuilderImpl. Java: 196)
The at org. Sonarsource. Nodejs. NodeCommandBuilderImpl. CheckNodeCompatibility (NodeCommandBuilderImpl. Java: 169)
The at org. Sonarsource. Nodejs. NodeCommandBuilderImpl. Build (NodeCommandBuilderImpl. Java: 144)
At org. Sonar. CSS. The plugin. Server CssAnalyzerBridgeServer. InitNodeCommand (CssAnalyzerBridgeServer. Java: 133)
At org. Sonar. CSS. The plugin. Server CssAnalyzerBridgeServer. StartServer (CssAnalyzerBridgeServer. Java: 101)
At org. Sonar. CSS. The plugin. Server CssAnalyzerBridgeServer. StartServerLazily (CssAnalyzerBridgeServer. Java: 153)
The at org. Sonar. CSS. The plugin. CssRuleSensor. Execute (CssRuleSensor. Java: 99)
The at org. Sonar. Scanner. Sensor. AbstractSensorWrapper. Analyse (AbstractSensorWrapper. Java: 48)
The at org. Sonar. Scanner. Sensor. ModuleSensorsExecutor. Execute (ModuleSensorsExecutor. Java: 85)
The at org. Sonar. Scanner. Sensor. ModuleSensorsExecutor. Lambda $execute $1 (ModuleSensorsExecutor. Java: 59)
The at org. Sonar. Scanner. Sensor. ModuleSensorsExecutor. WithModuleStrategy (ModuleSensorsExecutor. Java: 77)
The at org. Sonar. Scanner. Sensor. ModuleSensorsExecutor. Execute (ModuleSensorsExecutor. Java: 59)
The at org. Sonar. Scanner. The scan. ModuleScanContainer. DoAfterStart (ModuleScanContainer. Java: 82)
At org.sonar.core.platform.Com ponentContainer. StartComponents (ComponentContainer. Java: 137)
At org.sonar.core.platform.Com ponentContainer. Execute (ComponentContainer. Java: 123)
The at org. Sonar. Scanner. The scan. ProjectScanContainer. Scan (ProjectScanContainer. Java: 388)
The at org. Sonar. Scanner. The scan. ProjectScanContainer. ScanRecursively (ProjectScanContainer. Java: 384)
The at org. Sonar. Scanner. The scan. ProjectScanContainer. DoAfterStart (ProjectScanContainer. Java: 353)
At org.sonar.core.platform.Com ponentContainer. StartComponents (ComponentContainer. Java: 137)
At org.sonar.core.platform.Com ponentContainer. Execute (ComponentContainer. Java: 123)
The at org. Sonar. Scanner. The bootstrap. GlobalContainer. DoAfterStart (GlobalContainer. Java: 144)
At org.sonar.core.platform.Com ponentContainer. StartComponents (ComponentContainer. Java: 137)
At org.sonar.core.platform.Com ponentContainer. Execute (ComponentContainer. Java: 123)
The at org. Sonar. Batch. The bootstrapper. Batch. The doExecute (batch. Java: 72)
The at org. Sonar. Batch. The bootstrapper. Batch. The execute (batch. Java: 66)
The at org. Sonarsource. Scanner. API. Internal. Batch. BatchIsolatedLauncher. Execute (46) BatchIsolatedLauncher. Java:
The at Java. The base/JDK. Internal. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method)
The at Java. The base/JDK. Internal. Reflect. NativeMethodAccessorImpl. Invoke (Unknown Source)
The at Java. The base/JDK. Internal. Reflect. DelegatingMethodAccessorImpl. Invoke (Unknown Source)
The at Java. The base/Java. Lang. Reflect. Method. Invoke (Unknown Source)
The at org. Sonarsource. Scanner. API. Internal. IsolatedLauncherProxy. Invoke (60) IsolatedLauncherProxy. Java:
At com. Sun. Proxy. $Proxy0. Execute (Unknown Source)
The at org. Sonarsource. Scanner. API. EmbeddedScanner. The doExecute (EmbeddedScanner. Java: 189)
The at org. Sonarsource. Scanner. API. EmbeddedScanner. Execute (EmbeddedScanner. Java: 138)
The at org. Sonarsource. Scanner. Cli. Main. The execute (112). The Main Java:
The at org. Sonarsource. Scanner. Cli. Main. The execute (75). The Main Java:
The at org. Sonarsource. Scanner. Cli. Main. The Main (61). The Main Java:
Under Caused by: Java. IO. IOException: always run the program "node" : the error=2, No to the file or directory
The at Java. The base/Java. Lang. ProcessBuilder. Start (Unknown Source)
The at Java. The base/Java. Lang. ProcessBuilder. Start (Unknown Source)
The at org. Sonarsource. Nodejs. NodeCommand $ProcessWrapperImpl. Start (NodeCommand. Java: 175)
The at org. Sonarsource. Nodejs. NodeCommand. Start (NodeCommand. Java: 79)
. 37 common frames omitted
Under Caused by: Java. IO. IOException: error=2, No to the file or directory
The at Java. The base/Java. Lang. ProcessImpl. ForkAndExec (Native Method)
The at Java. The base/Java. Lang. ProcessImpl. (Unknown Source)
The at Java. The base/Java. Lang. ProcessImpl. Start (Unknown Source)
. 41 common frames omitted

INFO: Sensor SonarCSS Rules [cssfamily] (done) | time=688 ms
INFO: Sensor JaCoCo Report XML Importer/JaCoCo
INFO: 'sonar. Coverage. Jacoco. XmlReportPaths' is not defined. Using default locations: target/site/jacoco jacoco. XML, the target/site/jacoco - it/jacoco. XML, build/reports/jacoco/test/jacocoTestReport XML
INFO: No report imported, No coverage information will be imported by JaCoCo report XML Importer
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related