0

We are using Azure DevOps for our repositories. Our code consist of XSLT's for its validation we have written XSpecs. For CI/CD process we are planning to implement Pipelines rather than jenkins, but not able to get the information whether Azure DevOps supports xspecs to run on runtime. Can anyone help with this.

1 Answers1

0

I'm not familiar with Azure DevOps but I can read on their documentation that you need to provide an azure-pipelines.yml file at the root of your repository. For writing this file you can take inspiration from the AppVeyor yml file (AppVeyor is an online CI for Windows). The key part is when run-xspec-tests.cmd is invoked, this allows to execute all the files with extension .xspec inside a test folder (you can find the file run-xspec-tests.cmd here). Also, make sure you install Saxon and the other dependencies in the yml file.

If you write an azure-pipelines.yml, I would be interested to add it to the XSpec wiki documentation on GitHub so that you can help other people who need to run XSpec in Azure DevOps (feel free to describe how you did it via an issue on GitHub).

cirulls
  • 66
  • 1
  • 5