Skip to content

Commit

Permalink
Update ci.yml file (#20076)
Browse files Browse the repository at this point in the history
* Call set-test-pipeline-version.yml in eng\pipelines\templates\jobs\ci.yml
* Call set-test-pipeline-version.yml in analyze step
  • Loading branch information
chidozieononiwu authored Mar 24, 2021
1 parent 53eff17 commit 805326a
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions eng/pipelines/templates/jobs/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,6 @@ jobs:
ArtifactName: 'packages'

steps:
- ${{if eq(parameters.TestPipeline, 'true')}}:
- task: PowerShell@2
displayName: Prep template pipeline for release
condition: succeeded()
inputs:
pwsh: true
workingDirectory: $(Build.SourcesDirectory)
filePath: eng/scripts/SetTestPipelineVersion.ps1
arguments: '-BuildID $(Build.BuildId)'

- script: |
echo "##vso[build.addbuildtag]Scheduled"
displayName: 'Tag scheduled builds'
Expand All @@ -64,6 +54,12 @@ jobs:
inputs:
versionSpec: '3.6'

- template: /eng/common/pipelines/templates/steps/set-test-pipeline-version.yml
parameters:
PackageName: "azure-sdk-template"
ServiceDirectory: "template"
TestPipeline: ${{ parameters.TestPipeline }}

- template: /eng/common/pipelines/templates/steps/daily-dev-build-variable.yml
parameters:
ServiceDirectory: ${{parameters.ServiceDirectory}}
Expand Down Expand Up @@ -151,6 +147,12 @@ jobs:
inputs:
versionSpec: '3.6'

- template: /eng/common/pipelines/templates/steps/set-test-pipeline-version.yml
parameters:
PackageName: "azure-sdk-template"
ServiceDirectory: "template"
TestPipeline: ${{ parameters.TestPipeline }}

- script: |
pip install setuptools wheel
pip install doc-warden==$(DocWardenVersion)
Expand Down

0 comments on commit 805326a

Please sign in to comment.