Removed jenkins trigger, updated build.ln
ln.build - build0.waldrennach.l--n.de build job pending
Details
ln.build - build0.waldrennach.l--n.de build job pending
Details
parent
dceb2082b0
commit
7eb8c51ba0
|
@ -1,23 +0,0 @@
|
||||||
pipeline {
|
|
||||||
agent any
|
|
||||||
stages {
|
|
||||||
stage('Build') {
|
|
||||||
steps {
|
|
||||||
dotnetBuild(configuration: 'Release')
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('Test') {
|
|
||||||
steps {
|
|
||||||
dotnetTest(configuration: 'Release')
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('Push Package') {
|
|
||||||
steps {
|
|
||||||
dotnetNuGetPush(apiKeyId: '3yAJPMxcaEhb_HP62dxK', source: 'http://nuget.l--n.de/nuget/l--n/v3/index.json')
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
64
build.ln
64
build.ln
|
@ -1,47 +1,17 @@
|
||||||
{
|
{
|
||||||
"env": {
|
"templates": [
|
||||||
"NUGET_SOURCE": "https://nexus.niclas-thobaben.de/repository/l--n.de/",
|
"dotnet"
|
||||||
"CONFIGURATION": "Release"
|
],
|
||||||
},
|
"env": {
|
||||||
"stages": [
|
"NUGET_SOURCE": "https://nexus.niclas-thobaben.de/repository/l--n.de/",
|
||||||
{
|
"CONFIGURATION": "Release"
|
||||||
"name": "setup",
|
},
|
||||||
"env": {
|
"stages": [
|
||||||
"SOME_ENV_VAR": "Some text",
|
{
|
||||||
},
|
"name": "prepare",
|
||||||
"commands": [
|
"commands": [
|
||||||
"SH echo Setting up build environment",
|
"dotnet prepare */*.csproj"
|
||||||
"SH set",
|
]
|
||||||
"SH rm -Rf .build"
|
}
|
||||||
]
|
]
|
||||||
},
|
}
|
||||||
{
|
|
||||||
"name": "prepare",
|
|
||||||
"commands": [
|
|
||||||
"SH dotnet restore",
|
|
||||||
"SH dotnet clean"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "build",
|
|
||||||
"commands": [
|
|
||||||
"SH dotnet build -c $CONFIGURATION"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "pack_and_publish",
|
|
||||||
"commands": [
|
|
||||||
"SH dotnet pack ln.parse -o .build -c $CONFIGURATION",
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "push",
|
|
||||||
"commands": [
|
|
||||||
"SH for NUPKG in .build/*.nupkg; do dotnet nuget push $NUPKG -s $NUGET_SOURCE -k $NUGET_APIKEY; done",
|
|
||||||
],
|
|
||||||
"secrets": {
|
|
||||||
"NUGET_APIKEY": "https://nexus.niclas-thobaben.de"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||||
<Version>0.6.0</Version>
|
<Version>0.6.0-ci</Version>
|
||||||
<Authors>Harald Wolff-Thobaben</Authors>
|
<Authors>Harald Wolff-Thobaben</Authors>
|
||||||
<Company>l--n.de</Company>
|
<Company>l--n.de</Company>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
Loading…
Reference in New Issue