10 Star 20 Fork 14

NeatLogic / neatlogic-framework

加入 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}
Java
1
https://gitee.com/neat-logic/neatlogic-framework.git
git@gitee.com:neat-logic/neatlogic-framework.git
neat-logic
neatlogic-framework
neatlogic-framework
develop3.0.0

搜索帮助