Start your session from shell using batch, and continue monitoring from vAPI
In case you need to launch your session using batch first, please create a wrapper script that gets as an input the vSIF full path.
The plugin will execute your script on the selective agent (Jenkins) and will extract the session name out of it.
The plugin will then use that session_name to keep monitor your execution.

Example for such script file can be:
---------------------------
#!/bin/csh

source ~/.cshrc

setenv VMGR_REGION default
setenv VMGR_REGION_ROUTE_POLICY LOCAL
setenv VMGR_USER some_user_id
setenv VMGR_PASSWORD XXXXXX

vmanager -execcmd "launch $1"
---------------------------

Please also make sure that
1) The path to the script is a full path. No shortcuts or relative paths are allowed.
2) The shell type (bash, csh, sh) is supplied with full path as well.
3) This mode can only be used with an Agent that runs on Linux.