Open jmezach opened 3 years ago
Would be my guess... I'll check it out tonight.
As a workaround we explicitly use version 3.0.4 instead of the latest (3.0.8).
As a workaround we explicitly use version 3.0.4 instead of the latest (3.0.8).
How did you explicitly set that if using ADO service?
@engfer That's now possible due to a recent update on Azure DevOps: https://docs.microsoft.com/en-us/azure/devops/release-notes/2020/sprint-175-update#control-over-automated-task-updates-from-marketplace
Ahh, but we are using it in a release pipeline, so not sure I can specify that there :(
@engfer Hmm, yeah, I guess that only works for YAML pipelines at the moment.
Try 'tfx build task delete' to delete the version that doesn't work for you.
For some reason the task returns null for the a temporary file name when running in the agent. The same code executes fine from the console...
Now time for family dinner, then more time to understand what's going on.
On Fri, Sep 18, 2020, 16:33 Jonathan Mezach notifications@github.com wrote:
@engfer https://github.com/engfer Hmm, yeah, I guess that only works for YAML pipelines at the moment.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/renevanosnabrugge/vsts-promotepackage-task/issues/64#issuecomment-694904754, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA724S4J5NPFDESUJSJHZSTSGNVTBANCNFSM4RR4TOLQ .
It looks like the task might use a (new) powershell 7 api and thus needs to be executed differently on azure devops https://stackoverflow.com/questions/63630461/not-able-to-execute-powershell-7-scripts-parallelly-on-devops, that might also explain why it “works” locally: try locally running in powershell 5.1?
Starting today we're seeing our pipelines fail due to an error being generated from this task. The error message is
Cannot bind argument to parameter 'Path' because it is null.
. We believe that this might be related to #63. Here's a full stack trace of the error:We also made some changes to our pipelines recently so we first thought it had to do with our changes but we didn't change anything related to this task so now we're thinking it might have regressed. Any idea what's going on here?