Skip to content

Commit

Permalink
Run integration if SetDevVersion is true or not set in case of scheud… (
Browse files Browse the repository at this point in the history
Azure#11476)

* Run integration if SetDevVersion is true or not set in case of scheduled job
  • Loading branch information
praveenkuttappan authored and deyaaeldeen committed Sep 25, 2020
1 parent 3fb6414 commit b194b9b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion eng/pipelines/templates/stages/archetype-js-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,9 @@ stages:
dependsOn: ${{parameters.DependsOn}}
jobs:
- job: PublishPackages
condition: or(eq(variables['SetDevVersion'], 'true'), and(eq(variables['Build.Reason'],'Schedule'), eq(variables['System.TeamProject'], 'internal')))
# Run Integration job only if SetDevVersion is set to true or ( SetDevVersion is empty and job is a scheduled CI run)
# If SetDevVersion is set to false then we should skip integration job even for scheduled runs.
condition: or(eq(variables['SetDevVersion'], 'true'), and(eq(variables['SetDevVersion'], ''), eq(variables['Build.Reason'],'Schedule'), eq(variables['System.TeamProject'], 'internal')))
displayName: Publish package to daily feed
pool:
vmImage: ubuntu-18.04
Expand Down

0 comments on commit b194b9b

Please sign in to comment.