From b1de6f7bf1e46357686aabc7ab1ae3c274790148 Mon Sep 17 00:00:00 2001 From: Sergey Shandar Date: Tue, 26 Feb 2019 14:15:32 -0800 Subject: [PATCH] Azure DevOps time outs and display names. (#5273) * Allow to run SDK generaion for 2 hours * display names * display name --- azure-pipelines.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ec2bce0302ae..77397fbbbe07 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -25,11 +25,13 @@ jobs: echo TRAVIS_PULL_REQUEST_SLUG: $(TRAVIS_PULL_REQUEST_SLUG) echo TRAVIS_PULL_REQUEST_SHA: $(TRAVIS_PULL_REQUEST_SHA) echo PR_ONLY: $(PR_ONLY) + displayName: "Info" - task: Npm@1 displayName: 'npm install' inputs: verbose: false - script: 'npm test -- test/syntax.js' + displayName: 'Syntax validation' - job: "Semantic" pool: @@ -40,6 +42,7 @@ jobs: inputs: verbose: false - script: 'node scripts/semanticValidation.js' + displayName: 'Semantic Validation' - job: "ModelValidation" pool: @@ -50,17 +53,20 @@ jobs: inputs: verbose: false - script: 'node scripts/modelValidation.js' + displayName: 'Model Validation' - job: "BreakingChange" pool: vmImage: 'Ubuntu 16.04' steps: - script: 'scripts/install-dotnet.sh' + displayName: 'Insall .Net' - task: Npm@1 displayName: 'npm install' inputs: verbose: false - script: 'node scripts/breaking-change.js' + displayName: 'Breaking Changes' - job: "LintDiff" variables: @@ -73,9 +79,12 @@ jobs: inputs: verbose: false - script: 'scripts/install-dotnet.sh' + displayName: 'install .Net' - script: 'node scripts/momentOfTruth.js && node scripts/momentOfTruthPostProcessing.js' + displayName: 'LintDiff' - job: "SDK" + timeoutInMinutes: 120 strategy: matrix: ruby: @@ -100,3 +109,4 @@ jobs: vmImage: 'Ubuntu 16.04' steps: - script: "scripts/swagger-to-sdk.sh Azure/$(AZURE_SDK_REPO) -v $(AZURE_SDK_PARAMS)" + displayName: "Swagger to SDK script"