You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by dp...@apache.org on 2017/11/10 23:47:38 UTC
logging-log4net git commit: This patch changes the netstandard-1.3
build to generate trx files
Repository: logging-log4net
Updated Branches:
refs/heads/feature/cd-pipeline cfaf6db3f -> ef14b63d8
This patch changes the netstandard-1.3 build to generate trx files
Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/ef14b63d
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/ef14b63d
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/ef14b63d
Branch: refs/heads/feature/cd-pipeline
Commit: ef14b63d8a90fbab5f2e76750c115ddd621bb48c
Parents: cfaf6db
Author: Dominik Psenner <dp...@apache.org>
Authored: Sat Nov 11 00:47:34 2017 +0100
Committer: Dominik Psenner <dp...@apache.org>
Committed: Sat Nov 11 00:47:34 2017 +0100
----------------------------------------------------------------------
Jenkinsfile | 10 +++++++++-
tests/nant.build | 3 +--
2 files changed, 10 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/ef14b63d/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index 4e091a2..5a2a35d 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/**/*.mstests.xml', name: 'netstandard-1.3-testresults'
+ stash includes: 'tests/bin/**/*.mstests.trx', name: 'netstandard-1.3-testresults'
}
}
}
@@ -269,6 +269,14 @@ pipeline {
pattern : 'package/tests/bin/**/*.nunit.xml',
skipNoTestFiles : true,
stopProcessingIfError: true
+ ],
+ [
+ $class : 'MSTestJunitHudsonTestType',
+ deleteOutputFiles : false,
+ failIfNotNew : true,
+ pattern : 'package/tests/bin/**/*.nunit.trx',
+ skipNoTestFiles : true,
+ stopProcessingIfError: true
]
]
])
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/ef14b63d/tests/nant.build
----------------------------------------------------------------------
diff --git a/tests/nant.build b/tests/nant.build
index a3e2908..0969073 100644
--- a/tests/nant.build
+++ b/tests/nant.build
@@ -868,8 +868,7 @@ 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="-xml"/>
- <arg value="${log4net.basedir}/tests/bin/log4net.Tests.dll-results.mstest.xml"/>
+ <arg value="--logger:trx;LogFileName=${log4net.basedir}/tests/bin/log4net.Tests.dll-results.mstest.trx"/>
<arg value="--verbosity"/>
<arg value="detailed"/>
</exec>