1 Star 0 Fork 2

lt1726/stocker

forked from ivenus/stocker 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
azure-pipelines.yml 1.97 KB
一键复制 编辑 原始数据 按行查看 历史
VermouthX 提交于 2021-03-27 21:25 . ⬇️ Downgrade to JDK 1.8
# Gradle
# Build your Java project and run tests with Gradle using a Gradle wrapper script.
# Add steps that analyze code, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/java
trigger:
branches:
include:
- master
tags:
include:
- v1.*
pool:
vmImage: 'ubuntu-latest'
variables:
GRADLE_USER_HOME: $(Pipeline.Workspace)/.gradle
steps:
- task: Cache@2
inputs:
key: 'gradle | "$(Agent.OS)"'
restoreKeys: gradle
path: $(GRADLE_USER_HOME)
displayName: Gradle build cache
- task: Gradle@2
inputs:
workingDirectory: ''
gradleWrapperFile: 'gradlew'
gradleOptions: '-Xmx3072m'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.8'
jdkArchitectureOption: 'x64'
publishJUnitResults: true
testResultsFiles: '**/TEST-*.xml'
tasks: 'buildPlugin'
displayName: 'Build plugin'
- task: Gradle@2
inputs:
workingDirectory: ''
gradleWrapperFile: 'gradlew'
gradleOptions: '-Xmx3072m'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.8'
jdkArchitectureOption: 'x64'
publishJUnitResults: true
testResultsFiles: '**/TEST-*.xml'
tasks: 'runPluginVerifier'
displayName: 'Verify plugin'
- task: GitHubRelease@0
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/'))
inputs:
gitHubConnection: 'GitHub Release'
repositoryName: '$(Build.Repository.Name)'
action: 'create'
assets: 'build/distributions/*.zip'
assetUploadMode: 'delete'
tagSource: 'auto'
target: '$(Build.SourceVersion)'
displayName: 'Publish to GitHub Release'
- task: Gradle@2
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/'))
inputs:
jdkVersionOption: '1.8'
options: '-Djetbrains.token=$(jetbrains.token)'
tasks: 'publishPlugin'
displayName: 'Publish to JetBrains Plugin Repository'
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lutao1726/stocker.git
[email protected]:lutao1726/stocker.git
lutao1726
stocker
stocker
master

搜索帮助