Powershell step does not run if stdout is not captured

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

XMLWordPrintable

      In a scripted pipeline powershell(script: 'echo hello > file') does not run at all (can check this by checking for the existence of the file). But powershell(script: 'echo hello > file', returnStdout: true) works (ie. the file is created).

      Interestingly this only happens on our slave, not on the master. On the master it works as expected regardless.

      This started happening after upgrading to 2.361.1 LTS from the previous LTS version.

            Assignee:
            Yen Cheng Lin
            Reporter:
            Øystein Walle
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: