fix path to the script

This commit is contained in:
MaksimZhukov
2020-09-14 02:13:24 +03:00
parent 7f3dce9705
commit e918791a0a
@@ -29,24 +29,24 @@ jobs:
RemoveSourceFolder: true RemoveSourceFolder: true
- pwsh: | - pwsh: |
./images.CI/macos/build-image.ps1 -Image "${{ parameters.image_name }}" ` $(build.sourcesDirectory)/images.CI/macos/build-image.ps1 -Image "${{ parameters.image_name }}" `
-VcenterServer "$(vcenter_server_v2)" ` -VcenterServer "$(vcenter_server_v2)" `
-VcenterUsername "$(vcenter_username_v2)" ` -VcenterUsername "$(vcenter_username_v2)" `
-VcenterPassword "$(vcenter_password_v2)" ` -VcenterPassword "$(vcenter_password_v2)" `
-VcenterDatacenter "$(vcenter_datacenter_v2)" ` -VcenterDatacenter "$(vcenter_datacenter_v2)" `
-EsxiCluster "$(esxi_cluster_v2)" ` -EsxiCluster "$(esxi_cluster_v2)" `
-TargetDatastore "${{ parameters.target_datastore }}" ` -TargetDatastore "${{ parameters.target_datastore }}" `
-OutputFolder "mms-output" ` -OutputFolder "mms-output" `
-VmUsername "$(vm_username)" ` -VmUsername "$(vm_username)" `
-VmPassword "$(vm_password)" ` -VmPassword "$(vm_password)" `
-BuildId "$(Build.BuildNumber)" ` -BuildId "$(Build.BuildNumber)" `
-BaseImageName "${{ parameters.base_image_name }}" ` -BaseImageName "${{ parameters.base_image_name }}" `
-AzureStorageSas "$(AZURE_STORAGE_SAS)" ` -AzureStorageSas "$(AZURE_STORAGE_SAS)" `
-AzureStorageAccount "$(AZURE_STORAGE_ACCOUNT)" ` -AzureStorageAccount "$(AZURE_STORAGE_ACCOUNT)" `
-BuildAssetsUrl "$(appcenter_build_assets_url)" ` -BuildAssetsUrl "$(appcenter_build_assets_url)" `
-GithubFeedToken "$(GITHUB_FEED_TOKEN)" ` -GithubFeedToken "$(GITHUB_FEED_TOKEN)" `
-XcodeInstallationUser "$(xcode-installation-user)" ` -XcodeInstallationUser "$(xcode-installation-user)" `
-XcodeInstallationPassword "$(xcode-installation-password)" -XcodeInstallationPassword "$(xcode-installation-password)"
displayName: 'Build VM' displayName: 'Build VM'
env: env:
PACKER_LOG: 0 PACKER_LOG: 0