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

Keep comments on the txt export when updating plugins #446

Open
dduportal opened this issue Jun 14, 2022 · 0 comments
Open

Keep comments on the txt export when updating plugins #446

dduportal opened this issue Jun 14, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@dduportal
Copy link
Contributor

What feature do you want to see added?

As you can see in jenkins-infra/docker-jenkins-weeklyci#513 (comment),
the use of the command java -jar "${TMP_DIR}/jenkins-plugin-manager.jar" -f plugins.txt --available-updates --output txt --war "${TMP_DIR}/jenkins.war" > plugins2.txt (ref. https://github.com/jenkins-infra/docker-jenkins-weekly/blob/main/bin/update-plugins.sh) does not keep the comment from the source plugin file.

Not sure if there is a solution currently (using YAML, inlining comment, something else)?

If no solution, would it be possible to provide a --write-file / --inplace flag that would write the source plugin file in place?

Upstream changes

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant