Search code examples
cordovaazure-devopsvisual-studio-cordovaazure-pipelines

VisualStudio CI Build from GIT


I have a git repository which contains one folder which I want to include in CI build.

However, when I try to run Cordova Build Task it fails (which make sense) because in the root of my git repository is not cordova project, my project is in XYZ folder.

So, my question is, is it possible to make this build task to work with the source from that XYZ folder instead of trying to run commands in git root?


Solution

  • Set the working directory argument of the build task to

    $(Build.SourcesDirectory)\xyz
    

    enter image description here