diff --git "a/src/main/resources/neatlogic/resources/documentonline/zh/5.\350\207\252\345\212\250\345\214\226/\347\273\204\345\220\210\345\267\245\345\205\267/images/\347\273\204\345\220\210\345\267\245\345\205\267_\350\207\252\347\224\261\345\217\202\346\225\260.png" "b/src/main/resources/neatlogic/resources/documentonline/zh/5.\350\207\252\345\212\250\345\214\226/\347\273\204\345\220\210\345\267\245\345\205\267/images/\347\273\204\345\220\210\345\267\245\345\205\267_\350\207\252\347\224\261\345\217\202\346\225\260.png" new file mode 100644 index 0000000000000000000000000000000000000000..7c75a8db56ed786a282faa75014b0d9ced721e62 Binary files /dev/null and "b/src/main/resources/neatlogic/resources/documentonline/zh/5.\350\207\252\345\212\250\345\214\226/\347\273\204\345\220\210\345\267\245\345\205\267/images/\347\273\204\345\220\210\345\267\245\345\205\267_\350\207\252\347\224\261\345\217\202\346\225\260.png" differ diff --git "a/src/main/resources/neatlogic/resources/documentonline/zh/5.\350\207\252\345\212\250\345\214\226/\347\273\204\345\220\210\345\267\245\345\205\267/images/\347\273\204\345\220\210\345\267\245\345\205\267_\350\276\223\345\205\245\345\217\202\346\225\260.png" "b/src/main/resources/neatlogic/resources/documentonline/zh/5.\350\207\252\345\212\250\345\214\226/\347\273\204\345\220\210\345\267\245\345\205\267/images/\347\273\204\345\220\210\345\267\245\345\205\267_\350\276\223\345\205\245\345\217\202\346\225\260.png" new file mode 100644 index 0000000000000000000000000000000000000000..60c20e7191089d28a9da69e9a899dac988f45448 Binary files /dev/null and "b/src/main/resources/neatlogic/resources/documentonline/zh/5.\350\207\252\345\212\250\345\214\226/\347\273\204\345\220\210\345\267\245\345\205\267/images/\347\273\204\345\220\210\345\267\245\345\205\267_\350\276\223\345\205\245\345\217\202\346\225\260.png" differ diff --git "a/src/main/resources/neatlogic/resources/documentonline/zh/5.\350\207\252\345\212\250\345\214\226/\347\273\204\345\220\210\345\267\245\345\205\267/images/\347\273\204\345\220\210\345\267\245\345\205\267_\350\276\223\345\207\272\345\217\202\346\225\260.png" "b/src/main/resources/neatlogic/resources/documentonline/zh/5.\350\207\252\345\212\250\345\214\226/\347\273\204\345\220\210\345\267\245\345\205\267/images/\347\273\204\345\220\210\345\267\245\345\205\267_\350\276\223\345\207\272\345\217\202\346\225\260.png" new file mode 100644 index 0000000000000000000000000000000000000000..269c8fd73fb3151dbe3e5ef6cd90081035a4ac1d Binary files /dev/null and "b/src/main/resources/neatlogic/resources/documentonline/zh/5.\350\207\252\345\212\250\345\214\226/\347\273\204\345\220\210\345\267\245\345\205\267/images/\347\273\204\345\220\210\345\267\245\345\205\267_\350\276\223\345\207\272\345\217\202\346\225\260.png" differ diff --git "a/src/main/resources/neatlogic/resources/documentonline/zh/5.\350\207\252\345\212\250\345\214\226/\347\273\204\345\220\210\345\267\245\345\205\267/\347\273\204\345\220\210\345\267\245\345\205\267.md" "b/src/main/resources/neatlogic/resources/documentonline/zh/5.\350\207\252\345\212\250\345\214\226/\347\273\204\345\220\210\345\267\245\345\205\267/\347\273\204\345\220\210\345\267\245\345\205\267.md" index abe0453fa83c38dd85b535a9328649edf109bfa7..216eddb3cf00d564b45dd0ab231f962e16d0494d 100644 --- "a/src/main/resources/neatlogic/resources/documentonline/zh/5.\350\207\252\345\212\250\345\214\226/\347\273\204\345\220\210\345\267\245\345\205\267/\347\273\204\345\220\210\345\267\245\345\205\267.md" +++ "b/src/main/resources/neatlogic/resources/documentonline/zh/5.\350\207\252\345\212\250\345\214\226/\347\273\204\345\220\210\345\267\245\345\205\267/\347\273\204\345\220\210\345\267\245\345\205\267.md" @@ -37,6 +37,28 @@ 预设阶段组的执行目标 ![](images/组合工具_阶段组.gif) +## 工具参数 +阶段配置的工具或自定义工具中存在输入参数、输出参数和自由参数。 + +### 输入参数 +工具中定义的输入参数,输入参数的映射方式总共有六种,包括常量、作业参数、上游节点输出参数值、上游节点输入参数名、为空、预置参数集。 +![](images/组合工具_输入参数.png) +- 常量:这种方式就是管理员直接写入参数值,发起作业时不能修改。 +- 作业参数:引用作业参数的参数值,支持在发起作业时才填写作业参数的值。 +- 上游节点输出参数值:当前工具所在阶段有上游的阶段,或者有前置工具时,可选择引用上游节点工具的输出参数,但是可选对象有限制,只能选择类型相同的参数。 +- 上游节点输出参数名:当前工具所在阶段有上游的阶段,或者有前置工具时,可选择引用上游节点工具的输出参数,没有参数类型限制。 +- 为空:参数值为空,只有非必填的参数映射方式有为空。 +- 预置参数集:启用关联[预置参数集](../配置/自动化配置.md#预置参数集)的工具参数可引用预置参数集的参数。 + +### 输出参数 +工具中定义的输出参数,在组合工具编辑页面,只回显输出参数,不能做任何修改。 +![](images/组合工具_输出参数.png) + +### 自由参数 +自由参数主要是实现在脚本执行过程中输入参数值的场景。 +自由参数的参数名要和脚本中需要输入的参数一致。 +![](images/组合工具_自由参数.png) + ## 连接协议 连接协议可在阶段、组合工具的执行目标中预设,也支持发起作业时再指定。系统支持常见的连接协议,包括ssh、http、database、tagent、snmp、ipmi等。连接协议数据来源于资源中心的[账号管理](../../3.配置管理/资源中心/账号管理.md) @@ -49,6 +71,7 @@ ![](images/组合工具-阶段执行节点.png) 未预设执行目标的阶段(组),沿用组合工具执行目标中预设的执行节点。 ![](images/组合工具_执行目标.gif) + ### 筛选方式 执行目标的筛选方式有四种,分别为过滤器、节点、输入文本和作业参数 diff --git "a/src/main/resources/neatlogic/resources/documentonline/zh/8.\344\273\243\347\240\201\344\270\255\345\277\203/iamges/repository_gitlab.png" "b/src/main/resources/neatlogic/resources/documentonline/zh/8.\344\273\243\347\240\201\344\270\255\345\277\203/iamges/repository_gitlab.png" new file mode 100644 index 0000000000000000000000000000000000000000..d138e8ee6c95f324fa6997442ac2de47e0f4d6cc Binary files /dev/null and "b/src/main/resources/neatlogic/resources/documentonline/zh/8.\344\273\243\347\240\201\344\270\255\345\277\203/iamges/repository_gitlab.png" differ diff --git "a/src/main/resources/neatlogic/resources/documentonline/zh/8.\344\273\243\347\240\201\344\270\255\345\277\203/iamges/repository_svn.png" "b/src/main/resources/neatlogic/resources/documentonline/zh/8.\344\273\243\347\240\201\344\270\255\345\277\203/iamges/repository_svn.png" new file mode 100644 index 0000000000000000000000000000000000000000..d9561c078c9890540506a17ea01ef70b183dd3e3 Binary files /dev/null and "b/src/main/resources/neatlogic/resources/documentonline/zh/8.\344\273\243\347\240\201\344\270\255\345\277\203/iamges/repository_svn.png" differ diff --git "a/src/main/resources/neatlogic/resources/documentonline/zh/8.\344\273\243\347\240\201\344\270\255\345\277\203/\344\273\243\347\240\201\344\273\223\345\272\223.md" "b/src/main/resources/neatlogic/resources/documentonline/zh/8.\344\273\243\347\240\201\344\270\255\345\277\203/\344\273\243\347\240\201\344\273\223\345\272\223.md" new file mode 100644 index 0000000000000000000000000000000000000000..2d8e38f1c4712257d2469ce8894da6bdb9b29a7f --- /dev/null +++ "b/src/main/resources/neatlogic/resources/documentonline/zh/8.\344\273\243\347\240\201\344\270\255\345\277\203/\344\273\243\347\240\201\344\273\223\345\272\223.md" @@ -0,0 +1,24 @@ +# 代码仓库 + +## 创建方式 + +### git类型 +添加git类型代码仓库时,仓库名称必须唯一,且关联的应用和模块未关联过其他仓库。 +![](images/../iamges/repository_gitlab.png) + +### SVN类型 +当所选的代码库服务为svn时,会多出3个非必填项:主干、分支路径及tag路径。 +![](iamges/repository_svn.png) +- 主干不输入时,则仓库详情页的分支和标签均为仓库地址下的分支和标签。 +- 输入主干时,则仓库详情页的分支和标签为主干下的分支和标签。 +- 输入分支时,则仓库详情页的分支为所输入分支名下的分支。 +- 输入标签时,则仓库详情页的标签为所输入标签名下的标签。 + +## 仓库详情 +仓库详情中包括了活动、提交、分支、标签、浏览、设置。 +- 活动:活动tab中展示用户在代码仓库详情页面的所有操作记录。 +- 提交:提交tab中展示仓库的提交记录。 +- 分支:分支tab可对分支进行新增、删除、查询操作,并展示分支的创建者、创建时间及创建时的提交id。 +- 标签:标签tab可对标签进行新增、删除、查询操作,并展示标签的创建者、创建时间及创建时的提交id。 +- 浏览:浏览tab可查看所有分支或标签的文件内容。 +- 设置:设置tab中可编辑仓库的权限设置和分支保护。 \ No newline at end of file