upadate azp status badge (#777)
* upadate azp status badge * increase timeout limit for task * set job timeout-in-minutes to zero
This commit is contained in:
Родитель
c7b39017ce
Коммит
f0abd420d8
|
@ -1,4 +1,4 @@
|
|||
[![Build Status](https://msazure.visualstudio.com/AzureDMSS/_apis/build/status/unknown-compliance/microsoft.azure-spring-boot?branchName=master)](https://msazure.visualstudio.com/AzureDMSS/_build/latest?definitionId=105191&branchName=master)
|
||||
[![Build Status](https://dev.azure.com/azure-spring-integration/azure-spring-boot/_apis/build/status/microsoft.azure-spring-boot?branchName=master)](https://dev.azure.com/azure-spring-integration/azure-spring-boot/_build/latest?definitionId=1&branchName=master)
|
||||
[![AppVeyor](https://ci.appveyor.com/api/projects/status/af0qeprdv3g9ox07/branch/master?svg=true)](https://ci.appveyor.com/project/yungez/azure-spring-boot)
|
||||
[![codecov](https://codecov.io/gh/Microsoft/azure-spring-boot/branch/master/graph/badge.svg)](https://codecov.io/gh/Microsoft/azure-spring-boot)
|
||||
[![MIT License](http://img.shields.io/badge/license-MIT-green.svg) ](https://github.com/Microsoft/azure-spring-boot/blob/master/LICENSE)
|
||||
|
|
|
@ -10,7 +10,7 @@ trigger:
|
|||
- 2.1.x
|
||||
paths:
|
||||
exclude:
|
||||
- '**/*.md'
|
||||
- README.md
|
||||
pr:
|
||||
branches:
|
||||
include:
|
||||
|
@ -19,36 +19,41 @@ pr:
|
|||
- 2.1.x
|
||||
paths:
|
||||
exclude:
|
||||
- '**/*.md'
|
||||
- README.md
|
||||
|
||||
pool:
|
||||
vmImage: 'ubuntu-latest'
|
||||
|
||||
steps:
|
||||
- task: Maven@3
|
||||
displayName: Maven Build
|
||||
inputs:
|
||||
mavenPomFile: 'pom.xml'
|
||||
mavenOptions: '-Xmx3072m'
|
||||
javaHomeOption: 'JDKVersion'
|
||||
jdkVersionOption: '1.8'
|
||||
jdkArchitectureOption: 'x64'
|
||||
publishJUnitResults: true
|
||||
testResultsFiles: '**/surefire-reports/TEST-*.xml'
|
||||
goals: 'clean package verify'
|
||||
env:
|
||||
AZURE_TENANT: $(AZURE_TENANT)
|
||||
AZURE_SUBSCRIPTION: $(AZURE_SUBSCRIPTION)
|
||||
AZURE_CLIENT_ID: $(AZURE_CLIENT_ID)
|
||||
AZURE_CLIENT_SECRET: $(AZURE_CLIENT_SECRET)
|
||||
|
||||
- task: Gradle@2
|
||||
displayName: Gradle Build
|
||||
inputs:
|
||||
gradleWrapperFile: 'azure-spring-boot-samples/gradlew'
|
||||
workingDirectory: 'azure-spring-boot-samples'
|
||||
javaHomeOption: 'JDKVersion'
|
||||
jdkVersionOption: '1.8'
|
||||
jdkArchitectureOption: 'x64'
|
||||
publishJUnitResults: false
|
||||
tasks: 'build'
|
||||
jobs:
|
||||
- job: CI
|
||||
timeoutInMinutes: 0
|
||||
steps:
|
||||
- task: Maven@3
|
||||
displayName: Maven Build
|
||||
timeoutInMinutes: 0
|
||||
inputs:
|
||||
mavenPomFile: 'pom.xml'
|
||||
mavenOptions: '-Xmx3072m'
|
||||
javaHomeOption: 'JDKVersion'
|
||||
jdkVersionOption: '1.8'
|
||||
jdkArchitectureOption: 'x64'
|
||||
publishJUnitResults: true
|
||||
testResultsFiles: '**/surefire-reports/TEST-*.xml'
|
||||
goals: 'clean package verify'
|
||||
env:
|
||||
AZURE_TENANT: $(AZURE_TENANT)
|
||||
AZURE_SUBSCRIPTION: $(AZURE_SUBSCRIPTION)
|
||||
AZURE_CLIENT_ID: $(AZURE_CLIENT_ID)
|
||||
AZURE_CLIENT_SECRET: $(AZURE_CLIENT_SECRET)
|
||||
|
||||
- task: Gradle@2
|
||||
displayName: Gradle Build
|
||||
inputs:
|
||||
gradleWrapperFile: 'azure-spring-boot-samples/gradlew'
|
||||
workingDirectory: 'azure-spring-boot-samples'
|
||||
javaHomeOption: 'JDKVersion'
|
||||
jdkVersionOption: '1.8'
|
||||
jdkArchitectureOption: 'x64'
|
||||
publishJUnitResults: false
|
||||
tasks: 'build'
|
Загрузка…
Ссылка в новой задаче