Uploaded image for project: 'JS - JobScheduler'
  1. JS - JobScheduler
  2. JS-1747

Agent (Running jobs as a different user) - setting the JobScheduler/Agent specific environment variables for the target user

    XMLWordPrintable

Details

    Description

      Current Situation

      • When an shell or api job running on an Agent without user switching, the following environment variables can be available:
        • SCHEDULER_DATA
        • SCHEDULER_HOME
        • SCHEDULER_WORK_DIR
        • SCHEDULER_HTTP_PORT
        • SCHEDULER_HTTPS_PORT
        • SCHEDULER_PORT
        • SCHEDULER_LOG_DIR
        • SCHEDULER_LOGFILE
        • SCHEDULER_PID
        • SCHEDULER_PID_FILE
      • This environment variables are not available if an job running as a different user

      Desired Behaviour
      The above environment variables are also available for the shell and Api jobs, which are running as a different user

      Attachments

        Issue Links

          Activity

            People

              jz Joacim Zschimmer
              re Robert Ehrlich
              Robert Ehrlich Robert Ehrlich
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: