O'Reilly logo

DevOps for Web Development by Mitesh Soni

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a pipeline for compiling and executing test units

For demonstration purposes, let's try a simple scenario to create a pipeline for compiling source files and executing unit test cases:

  1. Let's use the following script in the Script box:

            echo 'Hello from Pipeline Demo'
            stage 'Compile'
            build 'PetClinic-Compile'
            stage 'Test'
            build 'PetClinic-Test'

    Creating a pipeline for compiling and executing test units

  2. Click on Build Now and go to Console Output to verify the execution process:

    Creating a pipeline for compiling and executing test units

  3. Go to the build job's main page. We can see Stage View here. Remember, we have created two stages: one is Compile and the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required