1 Star 0 Fork 12

王茂健/bff-framework

forked from UBML/bff-framework 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.gitlab-ci.yml 1.22 KB
一键复制 编辑 原始数据 按行查看 历史
王延东 提交于 2024-04-22 08:45 . gitlab_ci添加main分支
stages:
- build
- package
- deploy
variables:
# Maven
MAVEN_OPTS: -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN -Dorg.slf4j.simpleLogger.showDateTime=true -Djava.awt.headless=true
MAVEN_CONFIG: --batch-mode --errors --fail-at-end --show-version -DinstallAtEnd=true -s .mvn/settings.xml
MAVEN_USER_HOME: .mvn/
before_script:
- echo _auth=$(echo -n $ARTIFACTS_REPO_USERNAME:$ARTIFACTS_REPO_PASSWORD | base64) >> .npmrc
Build with Maven:
stage: build
tags:
- environment:cloud
- runner:docker
- namespace:generic
except:
variables:
- $CI_COMMIT_MESSAGE =~ /^Helm debug:\ .*/
cache:
paths:
- .mvn/wrapper/maven-wrapper.jar
- .mvn/wrapper/dists/
- .mvn/repository/
image: openjdk:8-stretch
script:
- chmod a+x ./mvnw
- ./mvnw -DskipTests=true clean install
Package:
stage: package
tags:
- environment:cloud
- runner:docker
- namespace:generic
only:
- master
- main
- dev
- tags
cache:
paths:
- .mvn/wrapper/maven-wrapper.jar
- .mvn/wrapper/dists/
- .mvn/repository/
image: openjdk:8-stretch
script:
- chmod a+x ./mvnw
- ./mvnw -DskipTests=true clean deploy
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wang-maojian/bff-framework.git
git@gitee.com:wang-maojian/bff-framework.git
wang-maojian
bff-framework
bff-framework
master

搜索帮助