Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-73423

All Powershell Steps return exit code 1 with UNC Path on windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • durable-task-plugin
    • None
    • Jenkins 2.452.2 on Windows

      I wanted to use the external workspace manager on windows but every powershell step fails without an error message but only exit code 1.

       

      I also tried not using the exws plugin an just use customWorkspace and set it to a network path but the problem still occurs.

       

      Network paths exist and permissions are granted so that is not the problem. Also starting a powershell from a bat step works.

      For now my workaround is mounting the network path to a drive letter via net use but I would like to avoid that if possible.

            Unassigned Unassigned
            sbradl Stefan Bradl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: