Giter VIP home page Giter VIP logo

Comments (5)

msdansau avatar msdansau commented on July 22, 2024 2

@sergey-koryshev thank you so much for your help and sharing this link. Yes I saw it, but this is the real issue .

clarification: the link you shared is intnded for repos of the same devops or from other external repos, not for branches of same devops repo. the only way i observe to achieve this is a) create a .yaml pipeline in master , b) copy that yaml to the branch c) modify the trigger to be the branch name. this way whenever the branch have a commit or change this yaml is going to be trigered. but what i mean is , we need to copy manually from the master branch to the branch to have effect.

this is the bug in the devops service portal design - it does not allow to create a pipeline ( .yaml file) directly to the branch which already exist. the only way is to copy and paste the created pipeline yaml file to the branch. it does allow create a pipeline yaml by creating new branch, but not for "existing" branches. that´s a design bug in devops.

GOAL : there shuld be an option in devops service portal when it comes to create a new pipeline that says something like " which existing branch you want to create this pipeline". thereps not option for that not using clasic view mode. can you process that ? it helps customers when they want to create specific pipeline on existing branches so that each branch (eg: testing, production, development, etc) can run its own pipeline and deploy to respective azure slots .

from azure-pipelines-yaml.

sergey-koryshev avatar sergey-koryshev commented on July 22, 2024 1

Hi @msdansau, as far as understand your question, you want to checkout multiple branches. Please follow this guide to achieve this: https://learn.microsoft.com/en-us/azure/devops/pipelines/repos/multi-repo-checkout?view=azure-devops

from azure-pipelines-yaml.

msdansau avatar msdansau commented on July 22, 2024

image
here is an example that demostrate there`s not option in devops service portal to create a new pipeline yam to specific branch.

from azure-pipelines-yaml.

sergey-koryshev avatar sergey-koryshev commented on July 22, 2024

Yes, you are right, this pipeline architecture is by design. You create one pipeline and then you can manage triggers to be able to run this pipeline against any branches but the branches should have related YAML-files. You can reduce duplicated YAML-code by using external repository to store it and then in target branches you can just checkout the YAML-repository and include related YAML-templates or something like this.

Actually this repository is wrong place for such type of request. Could you please create a ticket on https://developercommunity.visualstudio.com ?

from azure-pipelines-yaml.

msdansau avatar msdansau commented on July 22, 2024

thank you we can close it now. i´ll request a "request feature" to MS engineering team so that they can add an option into the new pipeline wizard to choose which branch to create the pipeline (yaml file). much appreciated.

from azure-pipelines-yaml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.