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-59459] Revert both fields from being transient #400

Merged
merged 3 commits into from
Sep 25, 2019

Conversation

varyvol
Copy link

@varyvol varyvol commented Sep 20, 2019

JENKINS-59459

Revert both fields from being transient so that they are exported and thus older version of the plugins are still able to import the template.

@dgarzon

@MRamonLeon
Copy link
Contributor

What's this change for? Is it to allow older versions of the plugin to use a template saved by a newer version? @varyvol

@varyvol
Copy link
Author

varyvol commented Sep 20, 2019

@MRamonLeon precisely that.

@varyvol varyvol changed the title [JENKINS-59459] Revert both fields from being transient. [JENKINS-59459] Revert both fields from being transient Sep 20, 2019
@res0nance
Copy link
Contributor

Fixes a backwards compatibility introduced in #329 for reference

@varyvol
Copy link
Author

varyvol commented Sep 20, 2019

I included an automated test. By the way this is related with JENKINS-59460 too.

Copy link
Contributor

@fcojfernandez fcojfernandez left a comment

Choose a reason for hiding this comment

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

Thanks for the test @varyvol !

@res0nance , would you like to review the test as well?

Copy link
Member

@jvz jvz left a comment

Choose a reason for hiding this comment

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

Kind of wonder how this will work once we work on reorganizing the configuration classes. Some sort of XStream feature maybe?

Copy link
Contributor

@res0nance res0nance left a comment

Choose a reason for hiding this comment

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

Test looks good

@varyvol
Copy link
Author

varyvol commented Sep 25, 2019

@res0nance I think this can be merged.

@res0nance res0nance merged commit 30f9439 into jenkinsci:master Sep 25, 2019
@res0nance
Copy link
Contributor

Merged thanks @varyvol

@varyvol
Copy link
Author

varyvol commented Sep 25, 2019

@res0nance thanks! Do you know if there are plans to deliver a new release soon? I think delivering this and #387 is interesting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants