Display feature availability |
---|
|
...
The JobSchedulerSSHJob can run with either the Trilead implementation (default) or the JSch implementation by JCraftJobScheduler JITL SSH job uses either an SSH implementation from Trilead or, starting with JobScheduler version 1.9, an implementation of JCraft's JSch.
JSch is the default implementation for the JITL SSH job from JobScheduler version 1.10 onwards. The Trilead SSH implementation will not be supported from JobScheduler version 1.12 and removed later.
The JSch implementation for SSH connections adds the use of return values to the already existing functionality of the JobSchedulerSSHJob.
To use the JSch implementation in JobScheduler Version 1.9.x you have to configure the following parameter in the params section of the scheduler.xml
, in newer versions you don´t have to configure this parameter.
The Trilead implementation is deprecated starting with JobScheduler 1.10.0 and will be removed in future releases. If you still want to use the Trilead SSH implementation in versions 1.10 and newer, change the below parameter value shown below to false in JobScheduler Releases 1.10.x.
Code Block |
---|
|
<param name="jitl.ssh.use_jsch_impl" value="true"/> |
...
Jira |
---|
server | SOS JIRA |
---|
columns | key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution |
---|
serverId | 6dc67751-9d67-34cd-985b-194a8cdc9602 |
---|
key | JITL-123 |
---|
|
Jira |
---|
server | SOS JIRA |
---|
columns | key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution |
---|
serverId | 6dc67751-9d67-34cd-985b-194a8cdc9602 |
---|
key | JITL-151 |
---|
|
Jira |
---|
server | SOS JIRA |
---|
columns | key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution |
---|
serverId | 6dc67751-9d67-34cd-985b-194a8cdc9602 |
---|
key | JITL-446 |
---|
|
Jira |
---|
server | SOS JIRA |
---|
columns | key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution |
---|
serverId | 6dc67751-9d67-34cd-985b-194a8cdc9602 |
---|
key | JITL-449 |
---|
|
...
- format:
<
command> <placeholder1> = <placeholder2>
- default value:
- 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:
- default value:
- description:
- The command to delete the temporary file with the return values. The placeholder will be substituted during the job execution.
- type
- 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.
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
- 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.
- default value:
To use the return-values-feature configure a SSH job with JOE and choose JobSchedulerSSHJob
.
...
language | xml |
---|
title | Simple SSH Job |
---|
collapse | true |
---|
...
Excerpt Include |
---|
| Example for the JobScheduler SSH Job |
---|
| Example for the JobScheduler SSH Job |
---|
|
...
Note |
---|
Make sure to add the BouncyCastleProvider as the second Provider and adjust the numeration. - If you add the Provider as the first, the default Java JCE can be broken.
- If you add the Provider as the last one, it can happen that Java doesn´t recognizes it.
|
Jira |
---|
server | SOS JIRA |
---|
columns | type,key,issuelinks,fixversions,status,priority,summary,updated |
---|
maximumIssues | 20 |
---|
jqlQuery | labels in (ssh) |
---|
serverId | 6dc67751-9d67-34cd-985b-194a8cdc9602 |
---|
|