-
Notifications
You must be signed in to change notification settings - Fork 166
[JENKINS-63373] writeYaml should support writing a list as multiple d… #87
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-63373] writeYaml should support writing a list as multiple d… #87
Conversation
(This time I have permission from my work to post this. Sorry about the mixup last time.) |
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.
Looks great over all, just some minor comments.
src/main/resources/org/jenkinsci/plugins/pipeline/utility/steps/conf/WriteYamlStep/help.html
Show resolved
Hide resolved
src/main/resources/org/jenkinsci/plugins/pipeline/utility/steps/conf/WriteYamlStep/config.jelly
Outdated
Show resolved
Hide resolved
src/test/java/org/jenkinsci/plugins/pipeline/utility/steps/conf/WriteYamlStepTest.java
Outdated
Show resolved
Hide resolved
src/test/java/org/jenkinsci/plugins/pipeline/utility/steps/conf/WriteYamlStepUnitTest.java
Show resolved
Hide resolved
I think I got all the comments addressed, is there anything else I need to do before this can be merged? |
Sorry, I've been on vacation and trying to catch up after getting back. |
@ian-twilightcoder Thanks for this change, would be useful for us as well. Can you make it work with the |
Thanks for catching that, fixed up |
…ocuments Add a `datas` parameter to writeYaml as an alternate to `data`. `datas` must be a collection, and each element will be written as a YAML document in the file.
@rsandell No problem. Got the merge conflicts fixed and I think this should be ready to go now. |
…ocuments
Add a
datas
parameter to writeYaml as an alternate todata
.datas
must be a collection, and each element will be written as a YAML document in the file.