NodeJS jenkins插件坏了吗? [英] NodeJS jenkins plugin broken?
问题描述
我刚刚在Jenkins 1.526上安装了NodeJS插件
https://wiki.jenkins-ci.org/display/JENKINS/NodeJS +插件
但是在主配置中,NodeJS自动安装程序未显示,此插件是否过时?
为我工作,但是我不得不重新启动服务器才能显示该选项
我在这里看到该选项:/jenkins/configure
我的步骤:
a)正常安装
https://wiki.jenkins-ci.org/display/JENKINS/NodeJS+Plugin
b),然后转到配置"页面
/jenkins/configure
c)NodeJS选项应位于maven/git和ant安装选项下
d)创建NodeJS安装
NodeJS-> NodeJS安装->添加NodeJS->名称="NodeJS 0.11.10",勾选自动安装",选择从nodejs.org安装",将"grunt-cli"添加到全局安装的软件包中>
e)创建一个作业,nodejs shell应该可以用作构建任务"Execute NodeJS script"
例如,为一个简单的hello world示例执行此操作,并将hello world呼应到jenkins作业输出上
var sys = require('sys');
sys.puts('NodeJS Test');
sys.puts('***************');
sys.puts('helloworld');
I have just installed the NodeJS plugin on Jenkins 1.526
https://wiki.jenkins-ci.org/display/JENKINS/NodeJS+Plugin
but on the master configuration the NodeJS auto-installer does not show up, is this plugin outdated?
works for me, but i had to restart the server for the option to appear
I see the option here: /jenkins/configure
my steps:
a) install this as normal
https://wiki.jenkins-ci.org/display/JENKINS/NodeJS+Plugin
b) then you go to the configure page
/jenkins/configure
c) NodeJS option should be under maven/git and ant installation options
d) Create NodeJS installiation
NodeJS- > NodeJS installations -> Add NodeJS -> Name = "NodeJS 0.11.10", tick "Install automatically", select "Install from nodejs.org", add "grunt-cli" to globally installed packages
e) Create a job and nodejs shell should be available as a build task "Execute NodeJS script"
eg do this for a simple hello world example, with echo hello world onto jenkins job output
var sys = require('sys');
sys.puts('NodeJS Test');
sys.puts('***************');
sys.puts('helloworld');
这篇关于NodeJS jenkins插件坏了吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!