Closed jakeuj closed 5 months ago
Hi
If the problem persists and is related to running it on Azure App Service, please open a support incident in Azure: https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request
This way we can better track and assist you on this case
Thanks,
Joaquin Vano Azure App Service
Description
I use kuduscript to create powershell script by below command.
kuduscript -y --aspNetCore .\src\TestCiCd.HttpApi.Host\TestCiCd.HttpApi.Host.csproj -s .\TestCiCd.sln -t posh
Then I got the publish script below.
dotnet publish "$DEPLOYMENT_SOURCE\src/TestCiCd.HttpApi.Host/TestCiCd.HttpApi.Host.csproj" --output "%DEPLOYMENT_TEMP%" --configuration Release
Repo
When I excute this script, I will get the output in dir named "ÞPLOYMENT_TEMP%".
This ultimately results in an empty artifacts folder, and Azure App Service site will be nothing.
Reproduction Steps
kuduscript -y --aspNetCore .\src\TestCiCd.HttpApi.Host\TestCiCd.HttpApi.Host.csproj -s .\TestCiCd.sln -t posh
Expected behavior
dotnet publish output should to my temp folder like "c:\temp\__deploy_tmp\".
Actual behavior
dotnet publish output create a folder named "ÞPLOYMENT_TEMP%" in my project folder.
Known Workarounds
change "%DEPLOYMENT_TEMP%" to "$DEPLOYMENT_TEMP"
Version 1.0.17
Operation System Windows 11
Other information
Doc