Closed note-do closed 3 years ago
Maybe it's connected with #44 I cannot get feed id with pipeline designer - only feed name. I found a workaround - get feed id with another task (dotnet push task). But it still doesn't work. I use self hosted agent. This issue has been discussed at the end of dialog in #42
When I change agent pool to Azure Pipelines (Cloud hosted) all work fine. Are there any specific requirements for this task on windows hosted agent?
Always provide logs in "Diagnostics Mode" it gives a much better idea of where exactly the build failed.
I am having the same problem. Any updates on this?
Always provide logs in "Diagnostics Mode" it gives a much better idea of where exactly the build failed.
I do not know what "Diagnostics Mode" is...
My guess is this is occurring when the nupkg is un-zipped.
When manually queueing a build, there is a 'enable diagnostics' checkbox at the bottom to generate way more detailed log files.
On Tue, Sep 1, 2020, 22:58 Mike Therien notifications@github.com wrote:
I am having the same problem. Any updates on this?
Always provide logs in "Diagnostics Mode" it gives a much better idea of where exactly the build failed.
I do not know what "Diagnostics Mode" is...
My guess is this is occurring when the nupkg is un-zipped.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/renevanosnabrugge/vsts-promotepackage-task/issues/45#issuecomment-685128688, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA724SYE2PI3BKKDQLNCJLLSDVN7XANCNFSM4KWDAZEQ .
When manually queueing a build, there is a 'enable diagnostics' checkbox at the bottom to generate way more detailed log files.
I receive this error in a release pipeline. Can you do the same with releases?
set variables for your release stage with:
agent.diagnostics=true
system.debug=true
That was a big help @jessehouwing , Thanks!
Attached is the log. Looks like it's failing on Remove-Item, not sure why.
We discovered our build agent was running on Windows Server 2016, which had Powershell 4 installed. After moving to a build agent on a Windows Server 2019 server it worked.
The call to create a temporary file did not exist until Powershell 5.
The yml task is
How can I avoid the error?