deploy
部署应用到环境
使用
shell
Usage: nexus deploy [options] [command]选项
shell
-v, --verbose enable verbose mode
-t, --tag <tag> specify a build tag to deploy (from nexus build)
-e, --environment <environment> specify the environment (see your default environment by running nexus settings list)
-f, --no-verify skip pre-build validation
--inspect save application bundle for inspection
--non-interactive run the command without input prompts
-h, --help display help for command子命令
shell
list [options] list deployments for your app示例
执行构建并部署
shell
nexus deploy将应用构建部署到 development 环境
shell
nexus deploy -e development部署已有构建 7d392hf
shell
nexus deploy -t 7d392hfTag 约束
- 必须在此应用中是唯一的
- 长度最多可达 64 个字符
- 不区分大小写
- 必须以字母数字字符开头
- 只能包含字母
A-Z或a-z、数字0-9、连字符-、下划线_和句号.