码迷,mamicode.com
首页 > Web开发 > 详细

[NodeJS]Jenkins-cli

时间:2016-05-11 11:23:47      阅读:201      评论:0      收藏:0      [点我收藏+]

标签:

使用npm 包nestor 触发jenkins job, 达到命令行管理Jenkins功能。

1. install nestor : npm install -g nestor

2. set JENKINS_URL:  

(*nix)

export JENKINS_URL=http://user:pass@host:port/path

(Windows)

set JENKINS_URL=http://user:pass@host:port/path

3. run your job -- for example

  nestor build testjob

 

[NodeJS]Jenkins-cli

标签:

原文地址:http://www.cnblogs.com/buhaiqing/p/5480927.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!