Fix path;Add conditional
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2021-02-13 20:16:31 +01:00
parent 2790b9c9d9
commit 961624998b
2 changed files with 17 additions and 11 deletions

View File

@ -218,12 +218,12 @@
"type": "shell-local",
"inline": [
"pwsh -command \"& scripts/Update-OvfConfiguration.ps1 \\",
" -OVFFile '/scratch/output-srv2019-v/{{user `vm_guestos`}}-{{user `vm_name`}}.ovf' \\",
" -OVFFile '/scratch/srv2019-v/{{user `vm_guestos`}}-{{user `vm_name`}}.ovf' \\",
" -Parameter @{'appliance.name'='{{user `vm_guestos`}}';'appliance.version'='{{user `vm_name`}}'}\"",
"pwsh -file scripts/Update-Manifest.ps1 \\",
" -ManifestFileName '/scratch/output-srv2019-v/{{user `vm_guestos`}}-{{user `vm_name`}}.mf'",
" -ManifestFileName '/scratch/srv2019-v/{{user `vm_guestos`}}-{{user `vm_name`}}.mf'",
"ovftool --acceptAllEulas --allowExtraConfig --overwrite \\",
" '/scratch/output-srv2019-v/{{user `vm_guestos`}}-{{user `vm_name`}}.ovf' \\",
" '/scratch/srv2019-v/{{user `vm_guestos`}}-{{user `vm_name`}}.ovf' \\",
" /output/Windows-Server-2019-LTSC.ova"
]
}