Configure release drafter

29 views
Skip to first unread message

priya jagyasi

unread,
May 19, 2022, 7:26:51 AM5/19/22
to Jenkins Developers
Hi Guys,

I am new to Jenkins and got my first Jenkins plugin code merged a day back to jenkinsci https://github.com/jenkinsci/lightstep-incident-response-plugin/. I am now trying to follow the document on Jenkins to release my plugin, but need some help.

I need help in configuring the release drafter to release my Jenkins plugin. The step here https://www.jenkins.io/doc/developer/publishing/releasing-cd/#configure-release-drafter says to include _extends: .github on https://github.com/jenkinsci/.github/blob/master/.github/release-drafter.yml file. Could you help how to do it? I see this file already has some content, what is expected here to do?

Thank you,
Priya

Mark Waite

unread,
May 19, 2022, 7:35:09 AM5/19/22
to Jenkins Developers
 https://www.youtube.com/watch?v=2c8wK2jkcIA&t=2686s is a "release drafter" segment of the multi-part video series on adopting a plugin.  That may help address your issues.  You can also look at other plugins like the Kubernetes plugin for examples https://github.com/jenkinsci/kubernetes-plugin/blob/master/.github/release-drafter.yml

The "Contributing to Open Source" Google Doc was the "starter" for that multi-part video series.  I have a draft pull request to add it to the www.jenkins.io site, but it has stalled due to other things that have needed attention.

Daniel Beck

unread,
May 19, 2022, 7:36:24 AM5/19/22
to jenkin...@googlegroups.com
On Thu, May 19, 2022 at 1:27 PM priya jagyasi <jagyasi...@gmail.com> wrote:
I need help in configuring the release drafter to release my Jenkins plugin. The step here https://www.jenkins.io/doc/developer/publishing/releasing-cd/#configure-release-drafter says to include _extends: .github on https://github.com/jenkinsci/.github/blob/master/.github/release-drafter.yml file. Could you help how to do it? I see this file already has some content, what is expected here to do?

This means to create a directory called ".github" inside your repository (unrelated to the jenkinsci/.github repository!), add a file called "release-drafter.yml" inside that directory, and use that as the content.

That'll result in your repo inheriting the configuration in the .github repository. 

Jesse Glick

unread,
May 19, 2022, 3:23:57 PM5/19/22
to jenkin...@googlegroups.com
On Thursday, May 19, 2022 at 5:26:51 AM UTC-6 Priya wrote:

Are you intending to configure your plugin for continuous delivery?

says to include _extends: .github on https://github.com/jenkinsci/.github/blob/master/.github/release-drafter.yml file. Could you help how to do it? I see this file already has some content, what is expected here to do?

 As the page says:

Make sure to remove any tag-template override that may have been configured previously.

and:

Optionally you can also remove .github/release-drafter.yml as the default is to assume _extends: .github

If you are not intending to configure your plugin for continuous delivery—you expect to release it yourself, with traditional-style version numbers like 1.3 etc.—then you should not be on this page.

Reply all
Reply to author
Forward
0 new messages