1.1.4 • Published 5 months ago

publish-jekins-webpack-plugin v1.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
5 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

5 months ago

1.1.3

5 months ago

1.1.2

5 months ago

1.1.1

5 months ago

1.1.0

5 months ago

1.0.9

5 months ago

1.0.7

5 months ago

1.0.6

5 months ago

1.0.5

5 months ago

1.0.2

5 months ago

1.0.4

5 months ago

1.0.3

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago