1.1.4 • Published 11 months ago

publish-jekins-webpack-plugin v1.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

通过 webpack 插件实现 npm build 打包至指定目录 然后通过 jekins restfult api 实现调用部署脚本

下载

Use one of the package managers for Node.js.

 yarn add publish-jekins-webpack-plugin -D

🔨 Usage

const PublishJekinsPlugin = require('publish-jekins-webpack-plugin');
{
plugins:[
// ...其他插件
// ...
new PublishJekinsPlugin({
  // dist输出地址
  targetPath: "/custom/target/path/dist.zip",
  // jekins账户
  userName: "yourUsername",
  // 账户密钥
  userToken: "yourUserToken",
  // jekins提供的restful api 在jekins项目工程里面配置
  url: "yourJenkinsURL",
});
// 或者
new PublishJekinsPlugin({
  targetPath: "/custom/target/path/dist.zip",
  // 自定义请求的url
  sshRestful: "yourSSHRestfulString",
});
]
}
1.1.4

11 months ago

1.1.3

11 months ago

1.1.2

11 months ago

1.1.1

11 months ago

1.1.0

11 months ago

1.0.9

11 months ago

1.0.7

11 months ago

1.0.6

11 months ago

1.0.5

11 months ago

1.0.2

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago