Azure Data lake analytics CI/CD

后端 未结 2 1001
野趣味
野趣味 2021-01-24 00:38

I\'m trying to build CI/CD for Azure Data lake analytics - USQL code and when i build the code using Visual studio build option in VSTS getting the below error - Using the Priv

相关标签:
2条回答
  • 2021-01-24 01:05

    Try creating a new project and follow the steps in the earlier conversations. It should be successful.

    0 讨论(0)
  • 2021-01-24 01:28

    Two things for your build definition:

    1.Use Nuget restore task before VS Build task

    Since you are using Microsoft.Azure.DataLake.USQL.SDK nuget package for your usql project, you should download the package to the agent build directory before building.

    Detail configuration for NuGet restore task as below (assume download the package into $(Build.SourcesDirectory)\ADLAUSQL1\packages):

    2.Use correct msbuild arguments

    Since you specifies the Microsoft.Azure.DataLake.USQL.SDK package with version 1.3.180223, you should specify the package location and version correspondingly like:

    /p:USQLSDKPath=$(Build.SourcesDirectory)/ADLAUSQL1/packages/Microsoft.Azure.DataLake.USQL.SDK.1.3.180223/build/runtime /p:USQLTargetType=SyntaxCheck /p:DataRoot=$(Build.SourcesDirectory)
    

    0 讨论(0)
提交回复
热议问题