You can have these variables available to a running job:

 

  SKYBOT_JOB_RUN_ID

  SKYBOT_SUITE_RUN_ID    (suite members only)

  SKYBOT_JOB_NAME

  SKYBOT_SUITE_NAME      (suite members only)

  SKYBOT_AGENT_NAME

  SKYBOT_SCHEDULED_DATE  (YYYYMMDD)

  SKYBOT_SCHEDULED_TIME  (HHMMSS)

 

To add the variable to the agent it would look like this:

 

The easiest way  on *nix is to add it to the agent start command:

 

SKYBOT_CONFIG_JOBINFO=true /opt/skybot/agent/start.sh &

 

On Windows the easiest way to set it is in Computer > Properties > Advanced System Settings > Environment Variables > System Variables.  Then restart the Agent service (and agent).