Moving jenkin's script to project.
This commit is contained in:
parent
53f45e11dd
commit
17e0a2fb21
9
jenkins_script.sh
Normal file
9
jenkins_script.sh
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
#Create directories if not created.
|
||||
mkdir -p TestFiles/NUnit.Runners
|
||||
nuget install Nunit.Runners -OutputDirectory TestFiles/NUnit.Runners
|
||||
dotnet restore RecrownedGTK.sln
|
||||
msbuild RecrownedGTK.sln
|
||||
mkdir -p TestFiles/Results
|
||||
TestFiles/NUnit.Runners/NUnit.ConsoleRunner.3.11.1/tools/nunit3-console.exe RecrownedGTK.sln --result=nunit3 --output "Results/build_${BUILD_ID}_log.txt" --work="TestFiles"
|
||||
cp TestFiles/nunit3 "TestFiles/Results/build_${BUILD_ID}_results.xml"
|
Loading…
Reference in New Issue
Block a user