<https://lh3.googleusercontent.com/-vBqH3ruhBfQ/WEAz08EZZ5I/AAAAAAAAAFQ/cStJcSwxCFUFnA3X2fNXDLOXfni5KJuBwCLcB/s1600/Capture_Ink_LI.jpg>
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? 
>
>  
>
>
> On Wed, Nov 30, 2016 at 6:39 PM, <aaron.t...@total.care <javascript:>> 
> wrote:
>
>> $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-use...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/df81ec10-6f58-478c-a0f4-8fe4a43c4eb0%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/df81ec10-6f58-478c-a0f4-8fe4a43c4eb0%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Regards
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/16ee13e2-ccd1-4cce-9b09-b62160fbd300%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to