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
    • Type: String
  • gitConfigUrl
    Provide GIT URL of the repository which has warhorn configuration file.
    • Type: String
  • gitConfigCredentials
    Choose to provide credentials to clone GIT repository.
    • Type: boolean
  • gitConfigTagValue
    Provide branch/commit ID/tag name of GIT repository(leave blank to use master).
    • Type: String
  • gitConfigCloneType
    • Type: String
  • gitConfigUname
    Provide user name to access GIT repository.
    • Type: String
  • gitConfigPwd
    Provide password to access GIT repository.
    • Type: String
  • 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).
    • Type: String
  • sftpConfigIp
    Provide Name/IP of SFTP server.
    • Type: String
  • sftpConfigUname
    Provide username for SFTP server.
    • Type: String
  • sftpConfigPwd
    Provide password for SFTP server.
    • Type: String
  • 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
    • Type: String
  • pythonPath
    (optional)Provide absolute path of Python executable.
    Leave blank to use default Python for execution.
    • Type: String
  • 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 -
    • Type: boolean
  • uploadServerIp
    Provide Name/IP of remote server.
    • Type: String
  • uploadServerUname
    Provide username for remote server.
    • Type: String
  • uploadServerPwd
    Provide password for remote server.
    • Type: String
  • uploadServerType
    • Type: String
  • 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.
    • Type: String
  • runFiles
      Array / List of Nested Object
    • runFile
      • Type: String

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.