Stephen added tag discovery as a response to user requests.  Building from
a tag is likely to require different specialized behaviors for different
users.

Some users won't mind if a tag is built more than once.  Others will want
ways to reduce the risk that a tag is built more than once, even if the
Jenkins server is completely reset.  Some users will only want the most
recent tag.  Other users will want to consider all tags, but only within a
certain date range.  Other users may want tags only accessible from a
specific branch or set of branches.  Other users may want to consider only
tags which have a specific message, or a specific tag name format.

Considering the many varied use cases for building tags, I believe his
intent is that plugins are the right way to allow users to select which
special cases they want, without adding all those special cases to a single
plugin.

Mark Waite

On Sat, Dec 9, 2017 at 4:46 PM Ryan Campbell <[email protected]>
wrote:

> I see that in JENKINS-34395
> <https://issues.jenkins-ci.org/browse/JENKINS-34395> that we added
> support for discovering tags. However, I don't see a way to build
> automatically when a tag is made.
>
> According to the release notes
> <https://wiki.jenkins.io/display/JENKINS/GitHub+Branch+Source+Plugin>, we
> see:
>
>
>> If you want tags to build automatically, you will need an extension
>> plugin for Branch API that implements at least one BranchBuildStrategy,
>> see AngryBytes/jenkins-build-everything-strategy-plugin
>> <https://github.com/AngryBytes/jenkins-build-everything-strategy-plugin> for
>> a prototype example of such an extension plugin.
>
>
> Is this the intention going forward? It seems rather awkward to install a
> plugin for something that should be a checkbox. Do we have plans to come
> back to this topic?
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/f1f83e88-7b95-4f68-b7c1-c20288199750%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/f1f83e88-7b95-4f68-b7c1-c20288199750%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAO49JtEQ2iLbvZNQtSUWsu-5V-AuFtjE2-9D_Z3JYF4GUVsB7g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to