Repository: logging-log4net
Updated Branches:
  refs/heads/feature/cd-pipeline 1db460bd9 -> 9ec245cdf


Jenkinsfile: moved the dotnet test command to the tests/nant.build file


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

Branch: refs/heads/feature/cd-pipeline
Commit: 9ec245cdf2fe34e408f59db601909dec84a91d13
Parents: 1db460b
Author: Dominik Psenner <dpsen...@apache.org>
Authored: Sun Aug 20 22:41:31 2017 +0200
Committer: Dominik Psenner <dpsen...@apache.org>
Committed: Sun Aug 20 22:41:31 2017 +0200

----------------------------------------------------------------------
 Jenkinsfile      | 4 +++-
 tests/nant.build | 8 ++++++++
 2 files changed, 11 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/9ec245cd/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index a13b52b..810f702 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -63,7 +63,8 @@ pipeline {
                                                stash includes: 'bin/**/*.*', 
name: 'netstandard-1.3-assemblies'
 
                                                // test
-                                               sh 'cd 
netstandard/log4net.tests && dotnet test --verbosity detailed'
+                                               bat "nant 
-buildfile:tests/nant.build runtests-netstandard-1.3"
+                                               stash includes: 
'tests/bin/**/*.nunit.xml', name: 'netstandard-1.3-testresults'
                                        }
                                }
                        }
@@ -231,6 +232,7 @@ pipeline {
                                        unstash 'mono-2.0-testresults'
                                        unstash 'mono-3.5-testresults'
                                        unstash 'mono-4.0-testresults'
+                                       unstash 'netstandard-1.3-testresults'
 
                                        // unstash site
                                        unstash 'site'

http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/9ec245cd/tests/nant.build
----------------------------------------------------------------------
diff --git a/tests/nant.build b/tests/nant.build
index d18b3d1..75b37fe 100644
--- a/tests/nant.build
+++ b/tests/nant.build
@@ -865,4 +865,12 @@ limitations under the License.
         </nunit2>
     </target>
 
+    <target name="runtests-netstandard-1.3" description="Runs log4net tests on 
.NET Standard 1.3">
+        <exec program="dotnet" workingdir="netstandard/log4net.tests">
+            <arg value="test"/>
+            <arg value="--verbosity"/>
+                   <arg value="detailed"/>
+        </exec>
+    </target>
+
 </project>

Reply via email to