JK
This commit is contained in:
parent
7d4eb20aa9
commit
2c5c9ea7d0
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -136,7 +136,10 @@ pipeline {
|
|||||||
|
|
||||||
dotnet clean -c Release
|
dotnet clean -c Release
|
||||||
# สำคัญ: ปิด warnings-as-errors
|
# สำคัญ: ปิด warnings-as-errors
|
||||||
dotnet build -c Release /warnaserror- -p:TreatWarningsAsErrors=false
|
dotnet build -c Release \
|
||||||
|
-p:TreatWarningsAsErrors=false\
|
||||||
|
-warnaserror
|
||||||
|
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -132,4 +132,4 @@ await app.RunAsync();
|
|||||||
// env DOTNET_ENVIRONMENT=Development dotnet run
|
// env DOTNET_ENVIRONMENT=Development dotnet run
|
||||||
// docker run -d --name sonarqube -p 9000:9000 sonarqube:lts-community
|
// docker run -d --name sonarqube -p 9000:9000 sonarqube:lts-community
|
||||||
|
|
||||||
public static partial class Program { }
|
public partial class Program { }
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user