From 46457fe5df32cf13f186c92e3965a6a8d63b6b56 Mon Sep 17 00:00:00 2001 From: Ray Chen Date: Fri, 19 Jan 2024 01:46:56 +0000 Subject: [PATCH] Added pipeline to validate spec location --- eng/pipelines/templates/stages/archetype-js-release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/eng/pipelines/templates/stages/archetype-js-release.yml b/eng/pipelines/templates/stages/archetype-js-release.yml index bc94296c880e..d14451c8cdbc 100644 --- a/eng/pipelines/templates/stages/archetype-js-release.yml +++ b/eng/pipelines/templates/stages/archetype-js-release.yml @@ -44,6 +44,11 @@ stages: PackageName: ${{artifact.name}} ServiceName: ${{parameters.ServiceDirectory}} ForRelease: true + - template: /eng/common/pipelines/templates/steps/verify-restapi-spec-location.yml + parameters: + PackageName: ${{artifact.name}} + ServiceDirectory: ${{parameters.ServiceDirectory}} + ArtifactLocation: $(Pipeline.Workspace)/${{parameters.ArtifactName}} - pwsh: | Get-ChildItem -Recurse ${{parameters.ArtifactName}}/${{artifact.name}} workingDirectory: $(Pipeline.Workspace)