From c382c6589942680f205f79a79603860aa5fa0791 Mon Sep 17 00:00:00 2001 From: Mike Harder Date: Thu, 28 Feb 2019 15:55:08 -0800 Subject: [PATCH] Update pipeline job names and dependencies (#4789) - Fixes #4643 --- .azure-pipelines/client.yml | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/.azure-pipelines/client.yml b/.azure-pipelines/client.yml index e970a529cc..c61cc966c9 100644 --- a/.azure-pipelines/client.yml +++ b/.azure-pipelines/client.yml @@ -5,7 +5,7 @@ variables: NodeVersion: '10.x' jobs: - - job: 'Publish' + - job: 'Build' pool: vmImage: 'ubuntu-16.04' @@ -16,8 +16,8 @@ jobs: versionSpec: '$(NodeVersion)' displayName: 'Install Node.js $(NodeVersion)' - # Reduce build time by only installing the "npm-run-all" package, which is the minimum required to run the - # composite script commands. + # Rather than running "npm install" in the repo root, reduce build time by only installing the "npm-run-all" package, + # which is the minimum required to run the composite script commands. - task: Npm@1 inputs: command: 'custom' @@ -44,15 +44,21 @@ jobs: displayName: 'Copy Package' - task: PublishBuildArtifacts@1 - displayName: 'Publish Package' + condition: succeededOrFailed() + displayName: 'Publish Artifacts' + inputs: + artifactName: packages - job: 'Analyze' + dependsOn: + - 'Build' + pool: vmImage: 'ubuntu-16.04' steps: - # sudo is required for pip install, as a console_entrypoint shim needs to be placed in bin + # sudo is required for pip install, as a console_entrypoint shim needs to be placed in bin - script: | pip install setuptools wheel sudo pip install doc-warden @@ -87,7 +93,7 @@ jobs: - job: 'Test' dependsOn: - - 'Publish' + - 'Build' strategy: matrix: @@ -142,7 +148,7 @@ jobs: pool: vmImage: '$(OSVmImage)' - + steps: - task: NodeTool@0 inputs: