JK
This commit is contained in:
parent
0a831496f9
commit
20933ec47c
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -181,7 +181,12 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
sh '''
|
sh '''
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
dotnet publish -c Release -o out
|
# build only the app project
|
||||||
|
dotnet restore AS400API.csproj
|
||||||
|
dotnet build AS400API.csproj -c Release -warnaserror:false -p:TreatWarningsAsErrors=false
|
||||||
|
|
||||||
|
# publish the app project (not the solution)
|
||||||
|
dotnet publish AS400API.csproj -c Release -o out --no-build
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user