-
Notifications
You must be signed in to change notification settings - Fork 515
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
[Harness] Create IBuildToolTask and use it in the RunTestTask. #8375
Conversation
…the RunTestTask. The initial idea of the refactoring looked nice but as soon as we want to get the RunTestTask out of jenkins, we have a number of naming issues. Move the tools to not use the *Task postfix so that it is cleaner and we can later extra the RunTestTask better.
In order to de-couple the RunTestTask from Jenkins, create an interface to be implemented, which is pass to use as a member (Composition pattern). In order to do that, do not expose Jenkins as a property of the interface because it is required just by the base constructor. Moving the the use an interfance meant a lot of small changes that should have no real effect (the compiler should have caught any possible issues).
Created as a draft pr so that the review is simpler. |
❌ Build was (probably) aborted 🔥 Jenkins job (on internal Jenkins) failed in stage(s) 'Install Provisioning Profiles' 🔥 : hudson.AbortException: script returned exit code 104 ✅ Build succeeded |
Build success |
Build failure |
❌ Build was (probably) aborted 🔥 Jenkins job (on internal Jenkins) failed in stage(s) 'Install Provisioning Profiles' 🔥 : hudson.AbortException: script returned exit code 104 ✅ Build succeeded |
Build success |
In order to de-couple the RunTestTask from Jenkins, create an interface to be implemented, which is pass to use as a member (Composition pattern). In order to do that, do not expose Jenkins as a property of the interface because it is required just by the base constructor. Moving the the use an interface meant a lot of small changes that should have no real effect (the compiler should have caught any possible issues).
In order to de-couple the RunTestTask from Jenkins, create an interface to be implemented, which is pass to use as a member (Composition pattern). In order to do that, do not expose Jenkins as a property of the interface because it is required just by the base constructor. Moving the the use an interface meant a lot of small changes that should have no real effect (the compiler should have caught any possible issues).
In order to de-couple the RunTestTask from Jenkins, create an interface
to be implemented, which is pass to use as a member (Composition
pattern). In order to do that, do not expose Jenkins as a property of
the interface because it is required just by the base constructor.
Moving the the use an interfance meant a lot of small changes that
should have no real effect (the compiler should have caught any possible
issues).