This issue is archived. You can view it, but you can't modify it. Learn more

ExportXMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Component/s: _unsorted
    • Environment:
      Windows Server version 1709
      Jenkins deployed in Linux VM from Azure marketplace

      I'm trying to deploy build agents that are running Windows Server version 1709, which is shipped as Server Core only. This is great because it's faster and smaller which is perfect for a build agent. 

      Unfortunately, the script that's used to install SSH relies on the Windows shell APIs to extract a ZIP file. This isn't a recommended way to extract ZIPs and it breaks on core. Expand-Archive is the right command to use instead.

       

      Here's the image I'm using:

      • offer WindowsServerSemiAnnual
      • publisher MicrosoftWindowsServer
      • sku Datacenter-Core-1709-smalldisk
      • version latest

       

       

      The bug is here: https://github.com/jenkinsci/azure-vm-agents-plugin/blob/1ca07d466f514b268016c4352ca077abe965eb46/src/main/resources/scripts/sshInit.ps1#L13

            Assignee:
            Chenyang Liu
            Reporter:
            Patrick Lang
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: