Repository: qpid-jms
Updated Branches:
  refs/heads/master ebe8163ee -> 0d7ca101b


NO-JIRA: upload the junit xml results files such that the results display on 
the job dashboard


Project: http://git-wip-us.apache.org/repos/asf/qpid-jms/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-jms/commit/0d7ca101
Tree: http://git-wip-us.apache.org/repos/asf/qpid-jms/tree/0d7ca101
Diff: http://git-wip-us.apache.org/repos/asf/qpid-jms/diff/0d7ca101

Branch: refs/heads/master
Commit: 0d7ca101b3a3f9c039024f60cc8d95cb6b95629b
Parents: ebe8163
Author: Robert Gemmell <[email protected]>
Authored: Wed Jan 6 14:39:57 2016 +0000
Committer: Robert Gemmell <[email protected]>
Committed: Wed Jan 6 14:42:07 2016 +0000

----------------------------------------------------------------------
 appveyor.yml | 11 +++++++++++
 1 file changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/0d7ca101/appveyor.yml
----------------------------------------------------------------------
diff --git a/appveyor.yml b/appveyor.yml
index 8079123..54b687b 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -25,6 +25,17 @@ test_script:
 
 on_finish:
   - ps: |
+      $url = 
"https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)"
+      $wc = New-Object 'System.Net.WebClient'
+      $dirs = Get-ChildItem -Filter surefire-reports -Recurse
+      ForEach ($dir in $dirs)
+      {
+        $files = Get-ChildItem -Path $dir.FullName -Filter TEST-*.xml
+        ForEach ($file in $files)
+        {
+          $wc.UploadFile($url, (Resolve-Path $file.FullName))
+        }
+      }
       7z a -r surefire-reports.zip '**\target\surefire-reports\*'
       Push-AppveyorArtifact surefire-reports.zip -DeploymentName 'Surefire 
Reports'
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to