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