The following plugin provides functionality available through
Pipeline-compatible steps. Read more about how to integrate steps into your
Pipeline in the
Steps
section of the
Pipeline Syntax
page.
For a list of other such plugins, see the
Pipeline Steps Reference
page.
Warrior Framework Plugin
step([$class: 'WarriorPluginBuilder'])
: Warrior Framework Plugin
configType
gitConfigUrl
Provide GIT URL of the repository which has warhorn configuration file.
gitConfigCredentials
Choose to provide credentials to clone GIT repository.
gitConfigTagValue
Provide branch/commit ID/tag name of GIT repository(leave blank to use master).
gitConfigCloneType
gitConfigUname
Provide user name to access GIT repository.
gitConfigPwd
Provide password to access GIT repository.
gitConfigFile
Provide path of configuration file.
Example with sample directory structure:
- root_dir
- dir1
- file1.xml
- sub_dir1
- file2.xml
To add file2.xml as configuration file, use "dir1/sub_dir1/file2.xml"(exclude root directory from file path).
sftpConfigIp
Provide Name/IP of SFTP server.
sftpConfigUname
Provide username for SFTP server.
sftpConfigPwd
Provide password for SFTP server.
sftpConfigFile
Provide absolute or relative-to-home path of configuration file.
1. Absolute path - /home/username/dir1/warhorn_config.xml
2. Relative-to-home path - dir1/warhorn_config.xml
pythonPath
(optional)Provide absolute path of Python executable.
Leave blank to use default Python for execution.
uploadExecLog
Choose to upload Warrior execution folder as zip file to any server via FTP/SFTP/SCP.
Format - Execution_jenkins-<job_name>-<build_number>.zip
Example - Execution_jenkins-Test_Job_Warrior_Plugin-48.zip
uploadServerIp
Provide Name/IP of remote server.
uploadServerUname
Provide username for remote server.
uploadServerPwd
Provide password for remote server.
uploadServerType
uploadServerDir
(optional)Provide absolute or relative-to-home path of destination directory in remote server.
Leave empty to copy warrior execution folder(as a zip file) in user's home directory.
runFiles
Array / List of Nested Object
runFile
Was this page helpful?
Please submit your feedback about this page through this
quick form.
Alternatively, if you don't wish to complete the quick form, you can simply
indicate if you found this page helpful?
See existing feedback here.