代码拉取完成,页面将自动刷新
task:
name: Windows build
windows_container:
image: cirrusci/windowsservercore:2019
clone_script:
- git config core.autocrlf
- git clone --recursive
https://x-access-token:%CIRRUS_REPO_CLONE_TOKEN%@github.com/%CIRRUS_REPO_FULL_NAME%.git
%CIRRUS_WORKING_DIR%/ci
- cd ci
- cmd /c "if defined CIRRUS_PR (git fetch origin pull/%CIRRUS_PR%/head:pull/%CIRRUS_PR%)"
- git reset --hard %CIRRUS_CHANGE_IN_REPO%
choco_cache:
# should be under %CIRRUS_WORKING_DIR%
folder: .chocolatey
maven_cache:
# should be under %CIRRUS_WORKING_DIR%
folder: .m2
matrix:
# add more JDK versions here
- name: Cirrus - JDK15
env:
OPENJDK_VERSION: "15.0.0"
OPENJDK_PATH: "jdk-15"
env:
# disable ANSI output for picocli (may affect tests)
NO_COLOR: "1"
# https://stackoverflow.com/questions/42024619/maven-build-gets-connection-reset-when-downloading-artifacts
MAVEN_OPTS:
- -Dhttp.keepAlive=false
-Dmaven.repo.local=%CIRRUS_WORKING_DIR%/.m2
-Dmaven.wagon.http.retryHandler.count=3
MAVEN_VERSION: "3.6.3"
PATH: "%PATH%;C:/Program Files/OpenJDK/%OPENJDK_PATH%/bin;\
C:/ProgramData/chocolatey/lib/maven/apache-maven-%MAVEN_VERSION%/bin;\
C:/ProgramData/chocolatey/bin"
install_script:
- choco config set cacheLocation %CIRRUS_WORKING_DIR%/.chocolatey
- choco upgrade -y chocolatey
- choco install -y --no-progress ant
- choco install -y --no-progress maven --version %MAVEN_VERSION%
- choco install -y --no-progress openjdk --version %OPENJDK_VERSION%
- choco install -y --no-progress xsltproc
- choco install -y --no-progress xmlstarlet
version_script:
- set
- ant -version
- java --version
- mvn --version
- xsltproc --version
- xml --version
sevntu_script:
- cd ci
- .ci/validation.cmd sevntu
verify_without_checkstyle_script:
- cd ci
- .ci/validation.cmd verify_without_checkstyle
site_without_verify_script:
- cd ci
- .ci/validation.cmd site_without_verify
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。