-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Update whitespace to match Prettier formatting - Add .prettierrc.yml - Part of Azure/azure-sdk#225
- Loading branch information
1 parent
cdd3296
commit 9b47134
Showing
3 changed files
with
204 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
singleQuote: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,41 @@ | ||
jobs: | ||
- job: 'LiveTest' | ||
- job: 'LiveTest' | ||
|
||
strategy: | ||
matrix: | ||
AzureBatch: | ||
pomFilePath: './batch/data-plane/pom.xml' | ||
AzureKeyVault: | ||
pomFilePath: './keyvault/data-plane/pom.xml' | ||
strategy: | ||
matrix: | ||
AzureBatch: | ||
pomFilePath: './batch/data-plane/pom.xml' | ||
AzureKeyVault: | ||
pomFilePath: './keyvault/data-plane/pom.xml' | ||
|
||
pool: | ||
vmImage: 'vs2017-win2016' | ||
pool: | ||
vmImage: 'vs2017-win2016' | ||
|
||
steps: | ||
# Adding -Dmaven.wagon.http.pool=false to the mvn command as a workaround to prevent build failures at maven artifacts downloading stage. | ||
- task: Maven@3 | ||
displayName: 'Run Live tests' | ||
inputs: | ||
mavenPomFile: $(pomFilePath) | ||
options: '--batch-mode -Dmaven.wagon.http.pool=false -Dsurefire.rerunFailingTestsCount=3' | ||
mavenOptions: '-Xmx3072m -Dorg.slf4j.simpleLogger.defaultLogLevel=error -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' | ||
javaHomeOption: 'JDKVersion' | ||
jdkVersionOption: '1.8' | ||
jdkArchitectureOption: 'x64' | ||
publishJUnitResults: false | ||
goals: 'test' | ||
env: | ||
ARM_CLIENTID: $(java-keyvault-test-arm-client-id) | ||
ARM_CLIENTKEY: $(java-keyvault-test-arm-client-key) | ||
AZURE_TEST_MODE: RECORD | ||
AZURE_BATCH_ACCOUNT: $(java-batch-test-account-name) | ||
AZURE_BATCH_ACCESS_KEY: $(java-batch-test-account-access-key) | ||
STORAGE_ACCOUNT_KEY: $(java-batch-test-storage-account-key) | ||
STORAGE_ACCOUNT_NAME: $(java-batch-test-storage-account-name) | ||
AZURE_BATCH_ENDPOINT: https://servbatch.centralus.batch.azure.com | ||
steps: | ||
# Adding -Dmaven.wagon.http.pool=false to the mvn command as a workaround to prevent build failures at maven artifacts downloading stage. | ||
- task: Maven@3 | ||
displayName: 'Run Live tests' | ||
inputs: | ||
mavenPomFile: $(pomFilePath) | ||
options: '--batch-mode -Dmaven.wagon.http.pool=false -Dsurefire.rerunFailingTestsCount=3' | ||
mavenOptions: '-Xmx3072m -Dorg.slf4j.simpleLogger.defaultLogLevel=error -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' | ||
javaHomeOption: 'JDKVersion' | ||
jdkVersionOption: '1.8' | ||
jdkArchitectureOption: 'x64' | ||
publishJUnitResults: false | ||
goals: 'test' | ||
env: | ||
ARM_CLIENTID: $(java-keyvault-test-arm-client-id) | ||
ARM_CLIENTKEY: $(java-keyvault-test-arm-client-key) | ||
AZURE_TEST_MODE: RECORD | ||
AZURE_BATCH_ACCOUNT: $(java-batch-test-account-name) | ||
AZURE_BATCH_ACCESS_KEY: $(java-batch-test-account-access-key) | ||
STORAGE_ACCOUNT_KEY: $(java-batch-test-storage-account-key) | ||
STORAGE_ACCOUNT_NAME: $(java-batch-test-storage-account-name) | ||
AZURE_BATCH_ENDPOINT: https://servbatch.centralus.batch.azure.com | ||
|
||
- task: PublishTestResults@2 | ||
condition: succeededOrFailed() | ||
inputs: | ||
mergeTestResults: true | ||
testRunTitle: 'Live tests for $(pomFilePath)' | ||
- task: PublishTestResults@2 | ||
condition: succeededOrFailed() | ||
inputs: | ||
mergeTestResults: true | ||
testRunTitle: 'Live tests for $(pomFilePath)' |
Oops, something went wrong.