$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 email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/df81ec10-6f58-478c-a0f4-8fe4a43c4eb0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to