This is ran as a PowerShell exectued by Jenkins. I have attached the
console output for reference
On Wednesday, November 30, 2016 at 6:19:51 PM UTC-7, ok999 wrote:
> More info needed. Is this executed as a powershell script via jenkins or
> via the pipeline script or executed as a batch command (but feeding a
> powershell code)?
> What does the console error look like?
>> $FilePath = 'C:\Windows\System32\inetsrv\config\applicationHost.config'
>> $Line2Edit = '<section name="httpLogging" overrideModeDefault="Deny" />'
>> $AppendAllow = '<section name="httpLogging" overrideModeDefault="Allow"
>> (Get-Content -Path $FilePath) -replace $Line2Edit , "$AppendAllow" |
>> Set-Content $FilePath
>> Just as the title states, Jenkins cannot find the desired path. Yes, the
>> path exists, yes i have checked to make sure.
>> When i run the the PowerShell script local it runs just fine, which leads
>> me to believe its a permission issue, but Jenkins has admin rights and
>> should be able to make any changes necessary.
>> PowerShell runs 64 bit, not sure about Jenkins however...
>> Anybody have any suggestions?
>> You received this message because you are subscribed to the Google Groups
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> To view this discussion on the web visit
>> For more options, visit https://groups.google.com/d/optout.
> nirish okram
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.