locked
Control Options in Build RRS feed

  • Question

  • Hi Team,

    Could you please help me out with Control Options in Build task .

    Scenario :-

    I have multiple apps like A, B,C in a single repository but different folders , How do i set control options for build in Azure pipeline , Requirement is if a developer commited a code in A ( Application ) I just want to build the particular one , rest i need to skip it and i have done this before for Master and Develop branch using Control Options Parameters but am not not sure how to set it for Project Directory .

    Note: Did R n D but not able to find

    and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master/directoryname'))

    and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/heads/users/directoryname'))


    But no luck.

    Thanks

    Prajith M


    Monday, March 23, 2020 2:47 PM

Answers