8. Code Snippet for CI/CD Execution
Why was this developed?
Implementing continuous integration and continuous delivery (CI/CD) has been difficult for users. Tasks like automating tests and configuring pipeline tools were complex to manage within projects.
What is the Goal?
The Avo Assure team has developed a Code Snippet for CI/CD Execution, which simplifies these processes. It provides easy-to-use tools for test automation, pipeline configuration, and other development tasks. Users can now set up CI/CD workflows for their projects without deep technical expertise.
How does it Look?
How does it work?
Through CI/CD Pipeline
The user has to navigate to the Avo Assure home screen.
The user has to click the Execute button, and the Execution Profile window will be displayed.
The user has to create an Execution Profile. Refer to the Create Execution Configuration section.
The user has to log in to any CI/CD Pipeline like Jenkins, Azure DevOps, etc.
The user has to click the CI/CD button from the Configuration & Execute window. The CI/CD Execution window will be displayed.
The user has to select the Execution Trigger Type as the Code snippet radio button. And set the timer to the required seconds.
The user has to select the language from the Select Language drop-down. Select the Python or Power Shell – Rest Method from the list. Note: Currently, we are supporting Python and Power Shell – Rest Method.
To copy the Python / Power Shell – Rest Method code, the user has to click the Copy icon. Pass the Python / Power Shell – Rest Method code to CI/CD Pipeline.
The user has to navigate to the Azure DevOps home screen, click the Pipelines button, select the existing Pipeline from the list, and click the Edit button.
The user has to click the dotnet build button. Pass the copied script in the Script field and click the Save button.
The user has to click the Run Pipeline button and then click the Run button. Note: The Agent must be up and running.
To view the execution in the CI/CD pipeline, the user has to click the Agent job button.
Once the Execution is done, the user can view the Reports through the link below.
How can I get this?
If the user upgrades to the latest version of Avo Assure to 23.2.2, this feature will be available automatically.
Last updated