Skip to content

Commit

Permalink
Need explicit dependency for variables
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew B White <whitemat@uk.ibm.com>
  • Loading branch information
mbwhite authored and jt-nti committed Mar 10, 2021
1 parent 4128b25 commit 794cb86
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ci/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ stages:
# Run the FV tests but using the built material
- job: fvt
displayName: 'FV Tests'
dependsOn: main
dependsOn: [main,displayenv]
variables:
VERSION: $[ dependencies.displayenv.outputs['BuildData.PACKAGE_VERSION'] ]
BUILD_DATE: $[ dependencies.displayenv.outputs['BuildData.BUILD_DATE'] ]
Expand Down Expand Up @@ -197,7 +197,7 @@ stages:
# error code the job will fail.
- job: src_audit
displayName: 'Node Module Auditing'
dependsOn: main
dependsOn: [main,displayenv]
variables:
VERSION: $[ dependencies.displayenv.outputs['BuildData.PACKAGE_VERSION'] ]
BUILD_DATE: $[ dependencies.displayenv.outputs['BuildData.BUILD_DATE'] ]
Expand Down Expand Up @@ -287,7 +287,7 @@ stages:
# Publish a new version, triggered by a git tag
- stage: Publish_tag
dependsOn: Build_and_Test
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags'))
condition: and(succeeded('Build_and_Test'), startsWith(variables['Build.SourceBranch'], 'refs/tags'))
jobs:
- job: npm_publish
displayName: 'npm publish'
Expand Down Expand Up @@ -343,7 +343,7 @@ stages:
# Stage to publish the nightly drivers
- stage: Publish_tag_nightly
dependsOn: Build_and_Test
condition: and(succeeded(), eq(variables['Build.Reason'], 'Schedule')) # only run on the scheduled builds
condition: and(succeeded('Build_and_Test'), eq(variables['Build.Reason'], 'Schedule')) # only run on the scheduled builds
jobs:
- job: npm_publish
displayName: 'npm publish'
Expand Down

0 comments on commit 794cb86

Please sign in to comment.