How to fill @since in plugins that use CD

16 views
Skip to first unread message

Ullrich Hafner

unread,
May 21, 2026, 4:22:12 AM (6 days ago) May 21
to Jenkins Developers
Is there a simple way to fill the @since tags in the code base when a plugin uses CD? When using manual releases I simply added the next SNAPSHOT version manually as version number, but now the version is derived automatically.

Jesse Glick

unread,
May 21, 2026, 9:40:34 AM (5 days ago) May 21
to jenkin...@googlegroups.com
On Thu, May 21, 2026 at 4:22 AM Ullrich Hafner <ullrich...@gmail.com> wrote:
Is there a simple way to fill the @since tags in the code base when a plugin uses CD?


Do you actually need `@since` tags? They are useful in Java Platform APIs since you might reasonably want to run on some different Java versions and so want to check if you are using something you should (though `-release` verifies this anyway). For everything else I have always found them useless. Either I have already updated my library dependency to a version containing the new API, in which case I can freely use it—why should I care whether older releases included this API?—or I have not, in which case the API would not be offered in my IDE to begin with.

CONFIDENTIALITY NOTICE: This email and any attachments contain confidential and proprietary information of CloudBees intended only for the named recipient(s). Unauthorized use or distribution is prohibited. If you received this in error, please notify the sender and delete this email.

Ullrich Hafner

unread,
May 21, 2026, 4:31:06 PM (5 days ago) May 21
to Jenkins Developers
Do you actually need `@since` tags? 

This is a good point. I used them in the past during debugging to see the history of the fields that are used in the XML serialization. But this information is also available via `git annotate`. So you are right, it makes sense to skip this tags in the future. 

Thanks! 

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr1Gur8H%2BuSH9Wf-HYz6NdeU5Q2F_9C-k5uBmWEKCXvfig%40mail.gmail.com.

Reply all
Reply to author
Forward
0 new messages