Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jkpack

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jkpack

Tool for automatically create jenkins task and upload output zip file to redmine.

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

jkpack

自动触发jenkins系统打包并搜集生成到artifactory的包,告别手工操作。

安装

$ npm install -g jkpack

配置

$ jkpack -h

cli

使用

注意:pack工具的使用时机是完成开发、提交代码并且已经成功merge之后。

参数说明:

name:jenkins job名称,必填的

password:OA账号的密码,如果不需要自动提交到redmine测试单,可以不填

issueId:redmine测试单id,如果不需要自动提交到redmine测试单,可以不填

message:提交到redmine的说明,如果填写[gitlog]则自动从git提交记录获取最新commit提交

  • 启动项目构建(只生成构建结果):
$ jkpack -n node

buildonly

  • 构建并自动提交到redmine测试单:
$ jkpack -n node -i 474193 -p [Your OA password] -m test

all

如果觉得参数复杂也可以将参数写到名为.jkpack.json的配置文件中,存放在项目根目录即可:

.jkpack.json配置示例:

{
    "name": "node",
    "issueId": 474193,
    "password": "[Your redmine password]",
    "message": "[gitlog]"
}

password这一项不推荐写到配置里,运行jkpack命令时输入即可。

Licence

MIT.

Keywords

FAQs

Package last updated on 23 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc