Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Azure by (13.1k points)
I want to create a automated test and run it within Azure test plans and for that, I have create a repository in Azure DevOps and created a azure pipeline. Now, I want to have a manual tester to trigger the automated tests. For that, we need a release pipeline. Can anyone help me why this is required and how to implement it?

1 Answer

0 votes
by (26.7k points)
edited by

Basically, Release pipeline helps you to adapt the same concepts which is being used by Azure pipelines to run the test. Also, in able to implement it, you need to tuen on the features called "Multi-stage pipelines". You can take the below sample:

stages:

- stage: Build

  jobs:

  - job: Build

    pool:

      vmImage: 'Ubuntu-16.04'

    continueOnError: true

    steps:

    - script: echo my first build job

- stage: Deploy

  jobs:

    # track deployments on the environment

  - deployment: DeployWeb

    pool:

      vmImage: 'Ubuntu-16.04'

    # creates an environment if it doesn’t exist

    environment: 'smarthotel-dev'

    strategy:

      # default deployment strategy

      runOnce:

        deploy:

          steps:

          - script: echo my first deployment

I hope this will work.

Want to become an Azure DevOps expert? join Azure DevOps certification now!!

Want to know more about Azure DevOps? Watch this video on Azure DevOps Training | Azure DevOps Tutorial:

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...