Skip to content

Commit

Permalink
ATR tests - don't reuse nodes during "dotnet build" and "dotnet test"
Browse files Browse the repository at this point in the history
Relates to https://github.com/dotnet/cli/issues/9458

The processes somehow doesn't release the files under a build of a project.
Random json files/dll's are not released and the build fails.

Signed-off-by: Pawel Panek <p.panek@samsung.com>
  • Loading branch information
ppaneksamsung committed Aug 8, 2019
1 parent cf91aaf commit 1ff0ee6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bamboo-specs/build_and_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ echo "SCRIPT=${SCRIPT}"
echo "SCRIPT_PATH=${SCRIPT_PATH}"
echo "CERTS_PATH=${CERTS_PATH}"

try dotnet build /p:"AuthorPath=${CERTS_PATH}/partner_2019.p12;AuthorPass=${bamboo_AuthorPassword}" /p:"DistributorPath=${CERTS_PATH}/tizen-distributor-signer.p12;DistributorPass=${bamboo_DistributorPassword}"
try dotnet build /nodeReuse:false /p:"AuthorPath=${CERTS_PATH}/partner_2019.p12;AuthorPass=${bamboo_AuthorPassword}" /p:"DistributorPath=${CERTS_PATH}/tizen-distributor-signer.p12;DistributorPass=${bamboo_DistributorPassword}"

try dotnet test JuvoPlayer.Tests/JuvoPlayer.Tests.csproj --logger:trx -f netcoreapp2.0
try dotnet test /nodeReuse:false JuvoPlayer.Tests/JuvoPlayer.Tests.csproj --logger:trx -f netcoreapp2.0

echo "Cyclomatic complexity results:"
CCM.exe bamboo-specs/ccm.config | tee CyclomaticComplexityReport.log

0 comments on commit 1ff0ee6

Please sign in to comment.