Skip to content
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

Cleanup deprecation #491

Merged
merged 4 commits into from
Jan 24, 2019
Merged

Conversation

timja
Copy link
Member

@timja timja commented Jan 24, 2019

@jetersen
Copy link
Member

@timja
Copy link
Member Author

timja commented Jan 24, 2019

Oops, will need some time to figure out how to mock the stepcontext or a more appropriate way of performing the tests

@jetersen
Copy link
Member

@timja take a look at office365 plugin 😂

@timja
Copy link
Member Author

timja commented Jan 24, 2019

It has 1 test there for configRoundTrip 😉
Already looked there 👅

@jetersen
Copy link
Member

@timja
Copy link
Member Author

timja commented Jan 24, 2019

I checked 2 of them and they are both using the deprecated guice injection method still
https://github.com/jenkinsci/contrast-continuous-application-security-plugin/blob/b608473420f686661cdd81db8d493f2e37cb7011/src/main/java/com/aspectsecurity/contrast/contrastjenkins/VulnerabilityTrendStep.java#L216
and I checked the Mattermost one.

I could assign the var in the constructor but then I would need to throw some new exceptions out...

I'll have a look later on unless you can see a more modernised one that does this

@jetersen
Copy link
Member

@timja
Copy link
Member Author

timja commented Jan 24, 2019

Thanks exactly what I was looking for

@jetersen
Copy link
Member

You are so very welcome 🎉

@timja timja merged commit fb79cb3 into jenkinsci:master Jan 24, 2019
@timja timja deleted the feature/cleanup-deprecation branch January 24, 2019 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants