Details
-
Feature
-
Status: Released (View Workflow)
-
Medium
-
Resolution: Fixed
-
2.0.0
-
None
Description
Feature
- The JS7 Agent should provide the built-in variables
- $js7Job.timeoutMillis
- $js7Job.sigkillDelayMillis
- The variables correspond to related job settings. They are provided similarly to existing variables such as $js7JobName, $js7Label etc.
- When using such variables in assignments to arguments or environment variables then users should consider
- to apply the syntax ${js7Job.timeoutMilis}, ${js7Job.sigkillDelayMillis} that is required due to the dot in the variable's name.
- that both variables might not be assigned values.
- Users can apply the following syntax that considers missing values using the ? operator:
"env": { "JOB_TIMEOUT": "\"${js7Job.timeoutMillis}?\"" "JOB_GRACE_TIMEOUT": "\"${js7Job.sigkillDelayMillis}?\"" }
- When used for assignment with environment variables then no environment variable will be created for a variable with a missing value.
- Users can apply the following syntax that considers missing values using the ? operator:
Attachments
Issue Links
- Wiki Page
-
Wiki Page Loading...