-
Notifications
You must be signed in to change notification settings - Fork 555
[Harness] Generalize the BuildProjectTask #8299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Some of the Jenkins test tasks are very useful and do A LOT of stuff. So we try to generalize the base class, to later be able to share the most usebul ones in the shared lib.
Move the task and use composition so that we can reuse the code. This will later allow other projects to use the class without the need of Jenkins or Harness and just implement the base class.
Use compopsition to generalize the BuildProjectTask to later reuse it in the CLI.
Co-Authored-By: Rolf Bjarne Kvinge <rolf@xamarin.com>
compilation errors added by the review suggestions.
|
As with others, creating a draft to simplify reviews. It is important to see the bcl tests run since they are the ones that use nuget restore. The creation of the build task is not as I wished, I'd prefer it to take testproject directly, but we are doing MSBuild.CloneProject which alters the state of the task. Later we should rethink that API so that it is more clear. |
|
Build failure Test results50 tests failed, 103 tests passed.Failed tests
|
dalexsoto
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
|
❌ Build was (probably) aborted 🔥 Jenkins job (on internal Jenkins) failed in stage(s) 'Test run' 🔥 : org.jenkinsci.plugins.workflow.steps.FlowInterruptedException ✅ Build succeeded ✅ API Diff (from stable) |
|
Build failure Test results1 tests failed, 152 tests passed.Failed tests
|
|
❌ Build was (probably) aborted 🔥 Jenkins job (on internal Jenkins) failed in stage(s) 'Test run, Test run' 🔥 ✅ Build succeeded ✅ API Diff (from stable) Test results1 tests failed, 184 tests passed.Failed tests
|
|
Build success |
|
Build failure Test results1 tests failed, 152 tests passed.Failed tests
|
|
❌ Build was (probably) aborted 🔥 Jenkins job (on internal Jenkins) failed in stage(s) 'Checkout' 🔥 : hudson.AbortException: script returned exit code 128 |
Use composition to generalize the BuildProjectTask to later reuse it in the CLI. Co-Authored-By: Rolf Bjarne Kvinge <rolf@xamarin.com>
Use composition to generalize the BuildProjectTask to later reuse it in the CLI. Co-Authored-By: Rolf Bjarne Kvinge <rolf@xamarin.com>
Use composition to generalize the BuildProjectTask to later reuse it in
the CLI.