@@ -30,7 +30,7 @@ parameters:
30
30
default : ' tsp-output'
31
31
- name : metadataAnnotationsCopyScriptPath
32
32
type : string
33
- default : $[format('{0} /../scripts/copy-annotations-to-csdl.ps1', parameters['metadataTypeSpecAnnotationsSource'])]
33
+ default : ' /../scripts/copy-annotations-to-csdl.ps1'
34
34
- name : sanitizedEndpoint
35
35
type : string
36
36
default : $[replace(parameters['endpoint'], '/', ''))]
99
99
endpointVersion : ${{ parameters.endpoint }}
100
100
displayName : ' run Typewriter to clean ${{ parameters.endpoint }} metadata'
101
101
102
- - pwsh : ' . $Env:ScriptPath -targetCsdlPath "$(Build.SourcesDirectory)/msgraph-metadata/clean_${{ parameters.sanitizedEndpoint }}_metadata/cleanMetadataWithDescriptions${{ parameters.endpoint }}.xml" -sourceCsdlDirectoryPath "$(metadataTypeSpecAnnotationsSource)/${{ parameters.metadataTypeSpecAnnotationsOutputDir }}"'
102
+ - pwsh : ' . $(metadataTypeSpecAnnotationsSource)/$ Env:ScriptPath -targetCsdlPath "$(Build.SourcesDirectory)/msgraph-metadata/clean_${{ parameters.sanitizedEndpoint }}_metadata/cleanMetadataWithDescriptions${{ parameters.endpoint }}.xml" -sourceCsdlDirectoryPath "$(metadataTypeSpecAnnotationsSource)/${{ parameters.metadataTypeSpecAnnotationsOutputDir }}"'
103
103
env :
104
104
ScriptPath : ${{ parameters.metadataAnnotationsCopyScriptPath }}
105
105
@@ -118,7 +118,7 @@ steps:
118
118
OutputMetadataFileName : ' cleanMetadataWithDescriptionsAndAnnotations'
119
119
displayName : ' run Typewriter to clean ${{ parameters.endpoint }} metadata and keep capability annotations'
120
120
121
- - pwsh : ' . $Env:ScriptPath -targetCsdlPath "$(Build.SourcesDirectory)/msgraph-metadata/clean_$(sanitizedEndpoint)_metadata/cleanMetadataWithDescriptionsAndAnnotations${{ parameters.endpoint }}.xml" -sourceCsdlDirectoryPath "$(metadataTypeSpecAnnotationsSource)/${{ parameters.metadataTypeSpecAnnotationsOutputDir }}"'
121
+ - pwsh : ' . $(metadataTypeSpecAnnotationsSource)/$ Env:ScriptPath -targetCsdlPath "$(Build.SourcesDirectory)/msgraph-metadata/clean_$(sanitizedEndpoint)_metadata/cleanMetadataWithDescriptionsAndAnnotations${{ parameters.endpoint }}.xml" -sourceCsdlDirectoryPath "$(metadataTypeSpecAnnotationsSource)/${{ parameters.metadataTypeSpecAnnotationsOutputDir }}"'
122
122
env :
123
123
ScriptPath : ${{ parameters.metadataAnnotationsCopyScriptPath }}
124
124
@@ -138,7 +138,7 @@ steps:
138
138
OutputMetadataFileName : ' cleanMetadataWithDescriptionsAndAnnotationsAndErrors'
139
139
displayName : ' run Typewriter to clean ${{ parameters.endpoint }} metadata and keep capability annotations and include error information'
140
140
141
- - pwsh : ' . $Env:ScriptPath -targetCsdlPath "$(Build.SourcesDirectory)/msgraph-metadata/clean_$(sanitizedEndpoint)_metadata/cleanMetadataWithDescriptionsAndAnnotationsAndErrors${{ parameters.endpoint }}.xml" -sourceCsdlDirectoryPath "$(metadataTypeSpecAnnotationsSource)/${{ parameters.metadataTypeSpecAnnotationsOutputDir }}"'
141
+ - pwsh : ' . $(metadataTypeSpecAnnotationsSource)/$ Env:ScriptPath -targetCsdlPath "$(Build.SourcesDirectory)/msgraph-metadata/clean_$(sanitizedEndpoint)_metadata/cleanMetadataWithDescriptionsAndAnnotationsAndErrors${{ parameters.endpoint }}.xml" -sourceCsdlDirectoryPath "$(metadataTypeSpecAnnotationsSource)/${{ parameters.metadataTypeSpecAnnotationsOutputDir }}"'
142
142
env :
143
143
ScriptPath : ${{ parameters.metadataAnnotationsCopyScriptPath }}
144
144
0 commit comments