1 Star 0 Fork 13

红尘小卒/neatlogic-change-base

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.gitlab-ci.yml 587 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/sennsinn01/neatlogic-change-base.git
git@gitee.com:sennsinn01/neatlogic-change-base.git
sennsinn01
neatlogic-change-base
neatlogic-change-base
develop3.0.0

搜索帮助