# publish-jekins-webpack-plugin

> publish to jekins

Latest version **1.1.4** (published 2023-12-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install publish-jekins-webpack-plugin
pnpm add publish-jekins-webpack-plugin
yarn add publish-jekins-webpack-plugin
bun add publish-jekins-webpack-plugin
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.1.4 |
| Published | 2023-12-25 |
| First published | 2023-12-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | qianmingliang |
| Maintainers | qianmingliang |
| Keywords | publish |

## Links

- npm: https://www.npmjs.com/package/publish-jekins-webpack-plugin
- Repository: https://github.com/MINGLIANG98/front_end_note.git#main
- Homepage: https://github.com/MINGLIANG98/front_end_note/tree/main#readme
- Issues: https://github.com/MINGLIANG98/front_end_note/issues
- npm.io page: https://npm.io/package/publish-jekins-webpack-plugin

## Dependencies (1)

- [archiver](https://npm.io/package/archiver.md) ^6.0.1

## Recent versions

- 1.1.4 (latest) — 2023-12-25
- 1.1.3 — 2023-12-25
- 1.1.2 — 2023-12-25
- 1.1.1 — 2023-12-21
- 1.1.0 — 2023-12-21
- 1.0.9 — 2023-12-21
- 1.0.7 — 2023-12-21
- 1.0.6 — 2023-12-21
- 1.0.5 — 2023-12-21
- 1.0.4 — 2023-12-19
- 1.0.3 — 2023-12-19
- 1.0.2 — 2023-12-19
- 1.0.1 — 2023-12-12
- 1.0.0 — 2023-12-12

## README

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

## 下载

Use one of the package managers for Node.js.

```bash
 yarn add publish-jekins-webpack-plugin -D
```

## 🔨 Usage

```js
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",
});
]
}
```

---
_Source: https://npm.io/package/publish-jekins-webpack-plugin · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
