Reformated Logger.cs, Update build.ln
ln.build - build0.waldrennach.l--n.de build job pending Details

master
Harald Wolff 2020-12-09 14:32:26 +01:00
parent 77683bbccf
commit 3988825e2c
3 changed files with 6 additions and 38 deletions

View File

@ -1,47 +1,17 @@
{ {
"templates": [
"dotnet"
],
"env": { "env": {
"NUGET_SOURCE": "https://nexus.niclas-thobaben.de/repository/l--n.de/", "NUGET_SOURCE": "https://nexus.niclas-thobaben.de/repository/l--n.de/",
"CONFIGURATION": "Release" "CONFIGURATION": "Release"
}, },
"stages": [ "stages": [
{
"name": "setup",
"env": {
"SOME_ENV_VAR": "Some text",
},
"commands": [
"SH echo Setting up build environment",
"SH set",
"SH rm -Rf .build"
]
},
{ {
"name": "prepare", "name": "prepare",
"commands": [ "commands": [
"SH dotnet restore", "dotnet prepare */*.csproj"
"SH dotnet clean"
] ]
},
{
"name": "build",
"commands": [
"SH dotnet build -c $CONFIGURATION"
]
},
{
"name": "pack_and_publish",
"commands": [
"SH dotnet pack -o .build -c $CONFIGURATION",
]
},
{
"name": "push",
"commands": [
"SH for NUPKG in .build/ln.*.nupkg; do dotnet nuget push $NUPKG -s $NUGET_SOURCE -k $NUGET_APIKEY; done",
],
"secrets": {
"NUGET_APIKEY": "https://nexus.niclas-thobaben.de"
}
} }
] ]
} }

View File

@ -14,8 +14,6 @@ namespace ln.logging
public static TextWriter SysOut = Console.Out; public static TextWriter SysOut = Console.Out;
public static TextWriter SysError = Console.Error; public static TextWriter SysError = Console.Error;
public static void CaptureConsole(Logger logger) public static void CaptureConsole(Logger logger)
{ {
LoggingWriter outWriter = new LoggingWriter(logger); LoggingWriter outWriter = new LoggingWriter(logger);

View File

@ -2,7 +2,7 @@
<PropertyGroup> <PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework> <TargetFramework>netcoreapp3.1</TargetFramework>
<Version>1.0.1</Version> <Version>1.0.2-ci</Version>
<Authors>Harald Wolff-Thobaben</Authors> <Authors>Harald Wolff-Thobaben</Authors>
<Company>l--n.de</Company> <Company>l--n.de</Company>
<Description /> <Description />