If we are using only .Net framework for the selenium test project creation, we can directly use Visual Studio Build Task and Publish Artifact task to build the solution in Azure.
But if our project is made of .Net Core, we may need to do an extra step to complete the build.
The extra task we may need to add will .Net Core publish
We can enable/disable the Zip Packaged project based on our convenience.
We can add the name of the folder in the Arguments section .We can also mention configuration as Release/Build etc
Eg: --configuration $(BuildConfiguration) -o $(Build.ArtifactStagingDirectory)/MyTests
No comments:
Post a Comment