...
Jira | ||||||||
---|---|---|---|---|---|---|---|---|
|
Jira | ||||||||
---|---|---|---|---|---|---|---|---|
|
Jira | ||||||||
---|---|---|---|---|---|---|---|---|
|
Passing variables back to the JobScheduler
...
- format:
<
command> <placeholder1> = <placeholder2>
- default value:
export %1s%s=%2s'%s'
- description:
- The command to set an environment variable. The values for placeholders 1 and 2 will be set implicitly at the start of the job execution. The placeholders are mandatory.
...
- format:
<command> <placeholder>
- default value:
rm %s
- description:
- The command to delete the temporary file with the return values. The placeholder will be substituted during the job execution.
Parameters available starting with release 1.12.2
temp_dir
- type
- String
- description:
- This parameter is used to set the path of tte remote folder where the user has write privileges.
- if the parameter is not set the default working dir of the SSH session is used.
- This parameter is used to set the path of tte remote folder where the user has write privileges.
auto_detect_os
The SSH Job always tries to detect the remote OS and assumes the remote shell. The preCommand
, postCommandRead
and postCommandDelete
parameters will be set automatically.
- type
- boolean
- description:
- If set to
false
this parameter deactivates the automatic setting of the above mentioned parameters, detection of the remote OS and shell will be carried out and logged regardlessly.
- If set to
- default value:
true
Configuration
To use the return-values-feature configure a SSH job with JOE and choose JobSchedulerSSHJob
.
...