代码拉取完成,页面将自动刷新
version: '{build}'
os: Windows Server 2012
build: off
clone_depth: 5
branches:
except:
- travis-ci.*
environment:
matrix:
- JAVA_HOME: "C:\\Program Files (x86)\\Java\\jdk1.8.0"
- JAVA_HOME: "C:\\Program Files\\Java\\jdk1.8.0"
- JAVA_HOME: "C:\\Program Files\\Java\\jdk9"
- JAVA_HOME: "C:\\Program Files\\Java\\jdk10"
init:
- ps: "ls 'C:/Program Files/Java/jdk*'"
- ps: "ls 'C:/Program Files (x86)/Java/jdk*'"
install:
- cmd: SET PATH=%JAVA_HOME%\bin;%PATH%
- cmd: SET MAVEN_OPTS=-Xmx768m -XX:MaxPermSize=128m
- cmd: SET JAVA_OPTS=-Xmx768m -XX:MaxPermSize=128m
- "ECHO JAVA_HOME=%JAVA_HOME%, HOMEPATH=%HOMEPATH%, PATH=%PATH%"
- cmd: ./mvnw.cmd --version
test_script:
- ./mvnw.cmd clean install --batch-mode
- ./mvnw.cmd dependency:copy-dependencies -DincludeScope=test -DexcludeArtifactIds=javassist,jsr305
- echo "Run Agent test"
- ps: |
$ttl_jar=Get-ChildItem target\transmittable-thread-local-*.jar -Exclude *-sources.jar | Select-Object -ExpandProperty FullName
$cp=Get-ChildItem target\dependency\*.jar | Select-Object -ExpandProperty FullName
$cp=$cp + 'target\test-classes'
$cp=$cp -join ';'
echo "java -Xmx256m -Xms256m -javaagent:$ttl_jar -cp $cp -ea com.alibaba.ttl.threadpool.agent.AgentCheck"
$output=java -Xmx256m -Xms256m -javaagent:$ttl_jar -cp $cp -ea com.alibaba.ttl.threadpool.agent.AgentCheck 2>&1
$output.CategoryInfo.TargetName | Out-Default
cache:
- C:\maven\
- C:\Users\appveyor\.m2\
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。