https://github.com/flowci/plugin-gitclone
[DEPRECATED] flow.ci git clone plugin
https://github.com/flowci/plugin-gitclone
Last synced: about 1 year ago
JSON representation
[DEPRECATED] flow.ci git clone plugin
- Host: GitHub
- URL: https://github.com/flowci/plugin-gitclone
- Owner: FlowCI
- Created: 2017-12-25T08:52:34.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-21T14:55:18.000Z (almost 8 years ago)
- Last Synced: 2025-02-14T17:23:03.235Z (over 1 year ago)
- Language: Java
- Homepage:
- Size: 30.3 KB
- Stars: 0
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Git-Clone
```
____ ___ _____ ____ _ ___ _ _ _____
/ ___|_ _|_ _| / ___| | / _ \| \ | | ____|
| | _ | | | |_____| | | | | | | | \| | _|
| |_| || | | |_____| |___| |__| |_| | |\ | |___
\____|___| |_| \____|_____\___/|_| \_|_____|
```
### 描述
一个 Git Clone 的插件,适用于 FlowCi
### 输入参数
>- PLUGIN_API `Api 的服务地址` `必填` Example: `http://127.0.0.1:8080/flow-api`
>- PLUGIN_GIT_URL `Git 的克隆地址` `选填`
>- PLUGIN_GIT_BRANCH `Git 的分支` `选填`
>- PLUGIN_GIT_WORKSPACE `Git 的克隆的目录` `选填`
### 输出环境变量
>- PLUGIN_GIT_WORKSPACE `项目的 Clone 目录`
>- PLUGIN_GIT_PROJECT `项目的目录`
>- PLUGIN_API `Flow 的 Api 地址`
>- PLUGIN_GIT_URL `Flow 的 Git 地址`
>- PLUGIN_GIT_BRANCH `Flow 的 Git 分支`
>- PLUGIN_GIT_RSA_PUB `Flow 的 公钥文件地址`
>- PLUGIN_GIT_RSA_PRI `Flow 的 私钥文件地址`
>如果在下个step使用输出的环境变量 请在ENV中加上 `FLOW_ENV_OUTPUT_PREFIX: PLUGIN_`, 这样的话就会把PLUGIN_前缀的环境变量传递到下个step
### 反馈
> 欢迎提[Issue](https://github.com/FlowCI/plugin-gitclone/issues)