Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-3747

build.bat can not run without the administrator on the windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 9.0.0.Final
    • None
    • Build System
    • None
    • Workaround Exists
    • Hide

      It can bypass the execution policy

      powershell.exe -noprofile -executionpolicy bypass -file "tools\download-maven.ps1"
      
      Show
      It can bypass the execution policy powershell.exe -noprofile -executionpolicy bypass -file "tools\download-maven.ps1"

    Description

      we are building the widlfy on the windows and meet the following failure. It looks like the powershell needs the Administrator to run the script.

      C:\hudson\workspace\btny-pulls-narayana-windows2008\jboss-as\tools\download-maven.ps1
      
      cannot be loaded because the execution of scripts is disabled on this
      system. Please see "get-help about_signing" for more details.
      At line:1 char:2
      + & <<<<  tools\download-maven.ps1
          + CategoryInfo          : NotSpecified: (:) [],
      PSSecurityException
          + FullyQualifiedErrorId : RuntimeException
      

      It could be set the execution policy or bypass it. see http://stackoverflow.com/questions/4037939/powershell-execution-of-scripts-is-disabled-on-this-system

      Attachments

        Activity

          People

            zfeng@redhat.com Zheng Feng
            zfeng@redhat.com Zheng Feng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: