Executing Scripts Using Jenkins Pipeline workflow

Modified on Tue, 26 Nov at 5:49 PM

TABLE OF CONTENTS

1. Overview

2. Prerequisites

3. Configuring Jenkins

3.1 Creating a New Item and performing a pipeline run

1. Overview

A pipeline workflow is an automated sequence of steps managed by Jenkins, where scripts generated by algoQA are executed automatically as part of this workflow. This article provides you the required details.


2. Prerequisites

3. Configure Jenkins

For the detailed steps on Post Installation Set Up Wizard and configuring Java and Maven, see How to Set Up Wizard after Installing Jenkins and Configure Java and Maven in Jenkins articles. 


3.1 Create a New Item and perform a pipeline run

 Perform the following: 

  1. In the Jenkins Dashboard, click the New Item.
  2. In the New Item screen, enter the Project name, select Pipeline and click OK to go to Configuration Page. By default, General Page is displayed.
     
  3. In the General Page while configuring, navigate to the Pipeline section and update the following code in the Pipeline description, as follows along with the updated Path. This is applicable only to Java Selenium scripts generated leveraging algoQA on windows operating system.

     

     
  4. Update the Path (Path is the location where algoQA script is downloaded to the local folder), as shown:

  5. Click Save to open the pipeline project.
  6.  In the Project page, click Build Now in the left pane.

  7. After the build is triggered, progress is shown in the Build History. Hover over the build number to view the down arrow. Select the down arrow to view drop down menu as shown. In this Menu, select the Console Output to view the details for this particular Pipeline run.

  8. The details of the selected pipeline run can be accessed, as shown:






 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article