JK
This commit is contained in:
parent
9c38937e02
commit
4fe54e8bc7
@ -4,7 +4,10 @@
|
|||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<InvariantGlobalization>true</InvariantGlobalization>
|
<InvariantGlobalization>true</InvariantGlobalization>
|
||||||
|
<DefaultItemExcludes>$(DefaultItemExcludes);AS400API.Tests/**</DefaultItemExcludes>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<!-- Package references -->
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Dapper" Version="2.1.28" />
|
<PackageReference Include="Dapper" Version="2.1.28" />
|
||||||
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
|
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
|
||||||
@ -14,7 +17,16 @@
|
|||||||
<PackageReference Include="Serilog.Settings.Configuration" Version="8.0.0" />
|
<PackageReference Include="Serilog.Settings.Configuration" Version="8.0.0" />
|
||||||
<PackageReference Include="Serilog.Sinks.File" Version="6.0.0" />
|
<PackageReference Include="Serilog.Sinks.File" Version="6.0.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<!-- Remove build/test/output from Content/None (safe for SDK-style projects) -->
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Remove="AS400API.Tests/**/*.cs" />
|
<Content Remove="bin/**;obj/**;out/**;TestResults/**;**/*.Tests/**;**/AS400API.Tests/**" />
|
||||||
|
<None Remove="bin/**;obj/**;out/**;TestResults/**;**/*.Tests/**;**/AS400API.Tests/**" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Update="appsettings*.json">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -60,6 +60,7 @@ pipeline {
|
|||||||
mkdir -p "${WORKSPACE}/.dotnet"
|
mkdir -p "${WORKSPACE}/.dotnet"
|
||||||
curl -fsSL https://dot.net/v1/dotnet-install.sh -o dotnet-install.sh
|
curl -fsSL https://dot.net/v1/dotnet-install.sh -o dotnet-install.sh
|
||||||
bash dotnet-install.sh --channel 9.0 --install-dir "${WORKSPACE}/.dotnet"
|
bash dotnet-install.sh --channel 9.0 --install-dir "${WORKSPACE}/.dotnet"
|
||||||
|
bash dotnet-install.sh --channel 8.0 --install-dir "${WORKSPACE}/.dotnet"
|
||||||
|
|
||||||
export PATH="${WORKSPACE}/.dotnet:${PATH}"
|
export PATH="${WORKSPACE}/.dotnet:${PATH}"
|
||||||
dotnet --info
|
dotnet --info
|
||||||
@ -93,7 +94,8 @@ pipeline {
|
|||||||
--scan . \
|
--scan . \
|
||||||
--out depcheck \
|
--out depcheck \
|
||||||
--data "${DC_DATA}" \
|
--data "${DC_DATA}" \
|
||||||
--noupdate || true
|
--noupdate || true \
|
||||||
|
--disableAssembly
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user