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

[JENKINS-57078] pipeline integration #17

Closed
wants to merge 1 commit into from

Conversation

vtitov
Copy link

@vtitov vtitov commented Apr 24, 2019

No description provided.

@vtitov vtitov marked this pull request as ready for review April 24, 2019 16:06
@oleg-nenashev
Copy link
Member

@vtitov sorry, I do not longer maintain these repositories.
I might be able to land this change (esp. if @TonyNoble is interested), but it has to be resubmitted to https://github.com/jenkinsci/envinject-api-plugin . This repository exists for compatibility reasons only

Copy link
Member

@oleg-nenashev oleg-nenashev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like EnvInject APi already includes the desired implementations

*/
@Deprecated
//@Restricted(NoExternalUse.class) // TODO re-enable deprecation & restriction
public class EnvInjectActionPipelinedRetriever {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Deprecated
@Restricted(NoExternalUse.class)
@SuppressFBWarnings(value = "SE_NO_SERIALVERSIONID", justification = "Deprecated code")
public class EnvVarsPipelinedResolver implements Serializable {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://github.com/jenkinsci/envinject-api-plugin/blob/master/src/main/java/org/jenkinsci/plugins/envinjectapi/util/EnvVarsResolver.java was refactored to support Pipeline. Looks like there is no practical differences between classes

@TonyNoble
Copy link

Given @oleg-nenashev 's comments - do we need to worry about applying these changes at all, or simply consider envinject-lib mothballed and encourage the use of envinject-api instead?

I might be willing to take this on if required in the near future if we feel there's still a need for development, but need the dust to settle on current work first.

@oleg-nenashev
Copy link
Member

@TonyNoble all plugins should be using EnvInject API. That plugin still includes this library due to some compatibility reasons (mostly-XTrigger Lib), but I am inclined doing a breaking change once all dependent code is migrated

@oleg-nenashev
Copy link
Member

Closing this pull request. Unless I am missing something, it is not needed
@vtitov please reopen that if you see any cases not addressed by EnvInject API

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.

3 participants