This is another attempt to produce and stash a test results file to parse later


Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/969ff1d8
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/969ff1d8
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/969ff1d8

Branch: refs/heads/feature/cd-pipeline
Commit: 969ff1d89a93981269b9afa2b54bf49a7d8bbdfd
Parents: 4e1ec39
Author: Dominik Psenner <[email protected]>
Authored: Sat Nov 11 02:06:18 2017 +0100
Committer: Dominik Psenner <[email protected]>
Committed: Sat Nov 11 02:06:18 2017 +0100

----------------------------------------------------------------------
 Jenkinsfile      | 2 +-
 tests/nant.build | 8 +-------
 2 files changed, 2 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/969ff1d8/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index afdbf76..23b7551 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -64,7 +64,7 @@ pipeline {
 
                                                // test
                                                sh "nant 
-buildfile:tests/nant.build runtests-netstandard-1.3"
-                                               stash includes: 
'tests/bin/**/*.mstest.trx', name: 'netstandard-1.3-testresults'
+                                               stash includes: '**/*.trx', 
name: 'netstandard-1.3-testresults'
                                        }
                                }
                        }

http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/969ff1d8/tests/nant.build
----------------------------------------------------------------------
diff --git a/tests/nant.build b/tests/nant.build
index a1aa114..ab24c82 100644
--- a/tests/nant.build
+++ b/tests/nant.build
@@ -868,14 +868,8 @@ limitations under the License.
     <target name="runtests-netstandard-1.3" description="Runs log4net tests on 
.NET Standard 1.3">
         <exec program="dotnet" 
workingdir="${log4net.basedir}/netstandard/log4net.tests">
             <arg value="test"/>
-            <arg 
value="--logger:trx;LogFileName=log4net.Tests.dll-results.mstest.trx"/>
+            <arg value="/logger:trx"/>
         </exec>
-        <mkdir dir="${log4net.basedir}/tests/bin/netstandard/1.3"/>
-        <move todir="${log4net.basedir}/tests/bin/netstandard/1.3">
-          <fileset basedir="netstandard/">
-            <include name="**/*.trx" />
-          </fileset>
-        </move>
     </target>
 
 </project>

Reply via email to