Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Commit

Permalink
Update pipeline job names and dependencies (#4789)
Browse files Browse the repository at this point in the history
- Fixes #4643
  • Loading branch information
mikeharder authored Feb 28, 2019
1 parent 36aeca1 commit c382c65
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .azure-pipelines/client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ variables:
NodeVersion: '10.x'

jobs:
- job: 'Publish'
- job: 'Build'

pool:
vmImage: 'ubuntu-16.04'
Expand All @@ -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'
Expand All @@ -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
Expand Down Expand Up @@ -87,7 +93,7 @@ jobs:
- job: 'Test'

dependsOn:
- 'Publish'
- 'Build'

strategy:
matrix:
Expand Down Expand Up @@ -142,7 +148,7 @@ jobs:

pool:
vmImage: '$(OSVmImage)'

steps:
- task: NodeTool@0
inputs:
Expand Down

0 comments on commit c382c65

Please sign in to comment.