1 Star 0 Fork 107

AndyZheng_/neatlogic-cmdb

forked from NeatLogic/neatlogic-cmdb 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.gitlab-ci.yml 588 Bytes
一键复制 编辑 原始数据 按行查看 历史
lvzk 提交于 2023-03-03 19:07 . init
# see https://docs.gitlab.com/ce/ci/yaml/README.html for all available options
build1:
stage: build
only:
- /^develop.*$/
- /^release.*$/
script:
- echo "git clone success!"
- if [[ "${CI_COMMIT_REF_NAME}" == "release"* ]]; then sh autotag.sh ${CI_PROJECT_ID} ${CI_COMMIT_SHA}; fi;
deploy1:
stage: deploy
only:
- /^develop.*$/
- /^release.*$/
script:
- export ENV_NAME="develop";
- if [[ "${CI_COMMIT_REF_NAME}" == "release"* ]]; then ENV_NAME="release"; fi;
- mvn deploy -e --settings /home/gitlab-runner/.m2/settings.xml -P${ENV_NAME}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/andyZheng/neatlogic-cmdb.git
git@gitee.com:andyZheng/neatlogic-cmdb.git
andyZheng
neatlogic-cmdb
neatlogic-cmdb
develop3.0.0

搜索帮助

0d507c66 1850385 C8b1a773 1850385