0 votes
1 view
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:

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...