Abbreviations, used in manual:
QG - Quality Gates
EF - Execution Flow
This manual will guide you on how to create a Script of type Command line.
This feature allows Users to interact with a computer or operating system by typing commands into quilliup's UI, similar to opening a terminal/CMD on your computer.
In this type of Script, almost all the CMD commands can be implemented.
Follow the next steps:
1. In the QG module, in the left side menu, under specific Project, go to the “Scripts” component:
Click “Add Script” button:
2. Fill in all required fields - See details in manual Quality Gates, Scripts:
- Name - Script`s name.
- Description - Describe the Script purpose.
Severity - The impact level of a script failure
Tags - Variable can be related to appropriate Tag(s).
- Script Type - In our case we'll choose "Command Line":
- Return type (*Optional) - chose "Success" or "Failure":
- Success Message - This value will be returned in case of successful Script termination.
- Error Message - This value will be returned in case of the Script's failure.
In the "Script code" field, enter the Command line script, for example:
cmd /c echo "hello quilliup"
In addition, the Command line Script type allows to implement "run_qp" commands. For example:
Please refer to the manual below for more details on remotely triggering QG module entities (EFs, Tests, etc.): command line execution guide
Comments
0 comments
Please sign in to leave a comment.