Azure Devops CI pipeline trigger for multi projects

0 votes

I have the following structure:

Test-A and Test-B projects were created on Azure DevOps. Test-A project's CI build pipeline will produce an artifact.

Test-B's pipeline uses the artifact produced by Test-A's CI pipeline in its build. I am not able to  unable to do a CI automatic trigger with project Test-A dependency in project Test-B.

Below is my .yml file.

trigger:
- master

pool:
  vmImage: 'ubuntu-latest'


resources:
  pipelines:
  - pipeline: JustAName
    project: Test-A
    source: Test-A_CI
    branch: master
    trigger: 
      branches:
        include: 
        - master

  repositories:
  - repository: justAnotherName
    type: github
    name: myGitRepo
    endpoint: myGitServiceConnection   
    trigger:    
      branches:  
        include:  
        - master

steps:

- task: DownloadPipelineArtifact@2
  inputs:
    buildType: 'specific'
    project: 'hashValue or Test-A'
    definition: '1'
    specificBuildWithTriggering: true
    buildVersionToDownload: 'latest'
    targetPath: '$(Agent.BuildDirectory)'


 Is it a permission issue? what is the best way to check what is the problem and resolve the issue?
Apr 7, 2022 in Other DevOps Questions by Kichu
• 19,040 points
1,427 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Other DevOps Questions

0 votes
0 answers
0 votes
0 answers
0 votes
0 answers
0 votes
1 answer
0 votes
0 answers

OWASP Zed Attack Proxy Scan in DevOps pipeline

I want to do the "Authenticated Scan" ...READ MORE

Mar 15, 2022 in DevOps Tools by Kichu
• 19,040 points
848 views
0 votes
1 answer
0 votes
0 answers

Multiple YAML build pipelines in Azure DevOps

Using the new YAML way I want ...READ MORE

Mar 15, 2022 in DevOps Tools by Kichu
• 19,040 points
1,130 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP