1 Star 0 Fork 0

wenxueliu73/intellij-java-plugin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.gitlab-ci.yml 1.44 KB
一键复制 编辑 原始数据 按行查看 历史
artpar 提交于 2023-10-08 16:13 . report test on gitlab
# To contribute improvements to CI/CD templates, please follow the Development guide at:
# https://docs.gitlab.com/ee/development/cicd/templates.html
# This specific template is located at:
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Gradle.gitlab-ci.yml
# This is the Gradle build system for JVM applications
# https://gradle.org/
# https://github.com/gradle/gradle
image: gradle:jdk17
# Disable the Gradle daemon for Continuous Integration servers as correctness
# is usually a priority over speed in CI environments. Using a fresh
# runtime for each build is more reliable since the runtime is completely
# isolated from any previous builds.
variables:
GRADLE_OPTS: "-Dorg.gradle.daemon=false"
before_script:
- GRADLE_USER_HOME="$(pwd)/.gradle"
- export GRADLE_USER_HOME
build:
stage: build
script:
- "apt-get update && apt-get install zip"
- "./gradlew buildPlugin"
cache:
key: "$CI_COMMIT_REF_NAME"
policy: push
paths:
- build
- .gradle
artifacts:
untracked: false
name: videobug-intellij-plugin.zip
paths:
- build/distributions/*.zip
expire_in: 30 days
test:
stage: build
script: ./gradlew check --scan --info
cache:
key: "$CI_COMMIT_REF_NAME"
policy: pull
paths:
- .gradle
- .cache
artifacts:
when: always
untracked: false
name: test-report.html
paths:
- build/reports/tests/test/*
expire_in: 30 days
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/wenxueliu73/intellij-java-plugin.git
git@gitee.com:wenxueliu73/intellij-java-plugin.git
wenxueliu73
intellij-java-plugin
intellij-java-plugin
master

搜索帮助