diff options
author | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-02-11 12:58:22 +0100 |
---|---|---|
committer | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-02-11 12:58:22 +0100 |
commit | d49e03eeac315e49ce327b439b204f59d33b7e33 (patch) | |
tree | 0eb022b4804984aeed512e05ee711d229ecfe3b2 | |
parent | 23345587af95b1a6e0d8fbb9db3ea8c790fdf054 (diff) |
appveyor.yml: Use local patched version of ctest-to-junit.xsl
-rw-r--r-- | appveyor.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/appveyor.yml b/appveyor.yml index 9aeb57c17f..2be92474b6 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -122,8 +122,7 @@ for: - xvfb-run -- cmake --build . --target benchmark after_test: - - curl -OL https://raw.githubusercontent.com/rpavlik/jenkins-ctest-plugin/master/ctest-to-junit.xsl - - xsltproc -o ctest-to-junit-results.xml ctest-to-junit.xsl Testing/*/Test.xml + - xsltproc -o ctest-to-junit-results.xml ../cmake/ctest-to-junit.xsl Testing/*/Test.xml - curl -F 'file=@ctest-to-junit-results.xml' "https://ci.appveyor.com/api/testresults/junit/$APPVEYOR_JOB_ID" @@ -218,8 +217,9 @@ for: # Found at https://help.appveyor.com/discussions/suggestions/5298-support-ctest-xml-test-results - ps: | $ctest_xml = Get-ChildItem -Path Testing\*\Test.xml + $ctest_to_junit_xsl = Get-ChildItem -Path ..\cmake\ctest-to-junit.xsl $XSLInputElement = New-Object System.Xml.Xsl.XslCompiledTransform - $XSLInputElement.Load("https://raw.githubusercontent.com/rpavlik/jenkins-ctest-plugin/master/ctest-to-junit.xsl") + $XSLInputElement.Load($ctest_to_junit_xsl) $XSLInputElement.Transform((Resolve-Path $ctest_xml), (Join-Path (Resolve-Path .) "ctest-to-junit-results.xml")) $wc = New-Object 'System.Net.WebClient' $wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\ctest-to-junit-results.xml)) |