Closed NicolasBn closed 3 years ago
Yaml file is correctly imported in build.ps1 :
Probably the variable is passed from the parent scope so this row is returning NUnitXML
using property
. Is another task setting to the wrong value? If that returns a value then that will override build configuration.
Is it this default value that messes up things?
Oh yeah ! That's it !
I clear the value and now the PesterOutPutFormat value is good.
Thank @johlju
Details of the scenario you tried and the problem that is occurring
When you set JUnitXML on build.yml, the
Invoke_Pester_Tests_V4
task doesn't take it.Verbose logs showing the problem
I added a line to show the content of
$PesterOutPutFormat
on the top of task :And after the section of build variable :
Suggested solution to the issue
No idea ...
The operating system the target node is running
Version and build of PowerShell the target node is running