Is there an ado pipeline task to trigger another pipeline?

Satyajeet Narayan 20 Reputation points
2025-03-18T12:03:04.7533333+00:00

I don't want PowerShell script of REST API. I just want a dedicated pipeline task to achieve this goal Say I have pipeline A. I want to run pipeline B which then triggers pipeline A to run.

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
508 questions
0 comments No comments
{count} votes

Accepted answer
  1. Damilola Onadeinde 475 Reputation points
    2025-03-18T12:20:03.38+00:00

    You can leverage this pipeline tasks. Make sure you have the extension installed in your Azure DevOps Organization https://marketplace.visualstudio.com/items?itemName=benjhuser.tfs-extensions-build-tasks

    I have tested it and I can confirm it is woking as expected.
    Let me know if you need further information.

      - task: TriggerBuild@4
        inputs:
          definitionIsInCurrentTeamProject: true
          buildDefinition: '<Build number/name>'
          queueBuildForUserThatTriggeredBuild: true
          ignoreSslCertificateErrors: false
          useSameSourceVersion: false
          useCustomSourceVersion: false
          useSameBranch: true
          waitForQueuedBuildsToFinish: false
          storeInEnvironmentVariable: false
          authenticationMethod: 'Personal Access Token'
          password: '<PAT>'
          enableBuildInQueueCondition: false
          dependentOnSuccessfulBuildCondition: false
          dependentOnFailedBuildCondition: false
          checkbuildsoncurrentbranch: false
          failTaskIfConditionsAreNotFulfilled: false
    
    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.