Hello Team,
I’m running this below command for creating a release in Octopus and it throws the below error:
New-Release -Server $Server -ApiKey $ApiKey -ProjectName $ProjectName -Version $ReleaseVersion -LogLevel $LogLevel -Packages “${PackageID}:$ReleaseVersion”
if ($LASTEXITCODE -ne 0) {
Write-Error “ERROR: Failed to create Octopus release”
exit $LASTEXITCODE
05-Aug-2021 14:32:35 | ============================================================== |
---|---|
05-Aug-2021 14:32:35 | ====================== Creating release ====================== |
05-Aug-2021 14:32:35 | ============================================================== |
05-Aug-2021 14:32:35 | The filename, directory name, or volume label syntax is incorrect. |
05-Aug-2021 14:32:35 | D:\data\bamboo-home\temp\214335489-214499329-214728709-ScriptBuildTask-631529034590816897.ps1 : ERROR: Failed to |
05-Aug-2021 14:32:35 | create Octopus release |
05-Aug-2021 14:32:35 | At line:1 char:1 |
05-Aug-2021 14:32:35 | + D:\data\bamboo-home\temp\214335489-214499329-214728709-ScriptBuildTask-631529034 … |
05-Aug-2021 14:32:35 | + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
05-Aug-2021 14:32:35 | + CategoryInfo : NotSpecified: ( [Write-Error], WriteErrorException |
05-Aug-2021 14:32:35 | + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,214335489-214499329-214728709-ScriptBu |
05-Aug-2021 14:32:35 | ildTask-631529034590816897.ps1 |