Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • The job script can make use of a number of JS7 - Job Environment Variables that are automatically available. This includes any environment variables prefixed with JS7 such as:
    • JS7_YADE_BIN points to the YADE start script that is available
      • for Windows Unix from %JS7$JS7_AGENT_HOME%HOME/yade/bin/yade.cmdsh
      • for Unix Windows from $JS7%JS7_AGENT_HOMEHOME%/yade/bin/yade.shcmd
    • JS7_YADE_CONFIG_DIR points to the YADE configuration directory that corresponds to the Agent's configuration directory, i.e. JS7_AGENT_CONFIG_DIR
  • The following environment variables are specific to this File Transfer job as they are mapped from order variables and node arguments, see JS7 - Order Variables:
    • YADE_PROFILE is the name of the profile to be applied from the the YADE configuration file.
    • YADE_FILE_PATH is the path of the file to be transferred.
  • The mapping of order variables and optionally node arguments to environment variables for the job looks like:


  • The declaration of the above order variables looks like:



  • Note that use of default values is not required. If no default value is specified then the order has to specify a value for the variable in question.

...