Jobs are still running as the Windows Service user

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

XMLWordPrintable

      Ok this may be just an incorrect understanding of what this plugin does but apparently the jobs are still being run as the normal service account user.

      I am using AD for authentication and I am logged in as myself. If I trigger the build (set to Run as User Triggering the Build) I can see in the log that it says "Running as Leandro" but then if I execute a batch file and run a "whoami" command I still get the default windows service user.

      {{Started by user Leandro
      Running as Leandro
      [EnvInject] - Loading node environment variables.
      Building in workspace C:\Jenkins\workspace\TestUser
      [TestUser] $ cmd /c call C:\Users\HICCIU~1\AppData\Local\Temp\hudson2968857796480795156.bat

      C:\Jenkins\workspace\TestUser>whoami
      centre\hicciuser
      }}

      Am I expecting something that the plugin is not meant to do? What is the plugin meant for then?

            Assignee:
            Leandro Tramma
            Reporter:
            Leandro Tramma
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: