在Jenkins中运行grunt时无法parsingnodeJS安装程序
我根据这篇文章在Jenkins中安装了nodejs插件:
https://wiki.jenkins-ci.org/display/JENKINS/NodeJS+Plugin
当我在Jenkins创build一个工作(我运行grunt –force)并运行它时,出现以下错误:
FATAL: Unresolvable nodeJS installer for version=0.11.13, platform=WINDOWS, cpu=i386 java.lang.IllegalArgumentException: Unresolvable nodeJS installer for version=0.11.13, platform=WINDOWS, cpu=i386 at jenkins.plugins.nodejs.tools.pathresolvers.LatestInstallerPathResolver.resolvePathFor(LatestInstallerPathResolver.java:28) at jenkins.plugins.nodejs.tools.NodeJSInstaller.createDownloadUrl(NodeJSInstaller.java:198) at jenkins.plugins.nodejs.tools.NodeJSInstaller.performInstallation(NodeJSInstaller.java:129) at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61) at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107) at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:205) at jenkins.plugins.nodejs.tools.NodeJSInstallation.forNode(NodeJSInstallation.java:60) at jenkins.plugins.nodejs.tools.NpmPackagesBuildWrapper$2.launch(NpmPackagesBuildWrapper.java:68) at hudson.Launcher$ProcStarter.start(Launcher.java:360) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:97) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:66) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:772) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:535) at hudson.model.Run.execute(Run.java:1732) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:234)
我在哪里可以find解决scheme?
我知道了:
-
在ManageJenkins – >configuration系统 – > NodeJS(NodeJS安装)中,您必须inputNodeJs可执行文件的path,例如。 “C:\ Program Files \ nodejs”
-
在Jenkins的工作中,你必须select“提供Node&npm bin /文件夹到PATH”并select你的nodeJs
-
在生成部分,您添加新的“执行Windows批处理命令”,并inputpathgrunt.cmd
- 在Jenkins中构build是成功的,但AWS-Codebuild正在给出插件错误
- Jenkins NodeJS插件抛出权限被拒绝的错误
- 报告Jenkins中的Angular 2代码覆盖率 – 覆盖类别之间的不匹配
- 从Jenkins开始nodejsasynchronous
- Jenkinspipe道:selectnodejs版本(+ python版本)
- 如何在Jenkins上同时在多个服务器上部署Node.js Web应用程序?
- 运行sonarqube分析我的代码时得到NullPointerException
- 如何使用jenkinspipe道与nvm包装插件?
- 如何避免通过SauceLabs远程下载文件时的“另存为”提示