How to hide/remove some tags from Jenkins builds?

1,340 views
Skip to first unread message

Gianluca

unread,
Sep 16, 2021, 7:25:38 AM9/16/21
to Jenkins Users
Hi all,
some times ago we enabled the discovery of tags in our GitHub Organization project on Jenkins and now a new tab with tags and builds done by checking out the tags is availabe.

Although, after a while, we have now that tag full of a lot of tags we are not building anymore because are old or irrelevant.

Is there a way to set Jenkins to discover only certain tags based on a patter name, similar to branches?
If not what are my alternatives to hide some tags from that tab?

Thanks,
Gianluca.

Dirk Heinrichs

unread,
Sep 16, 2021, 9:16:24 AM9/16/21
to jenkins...@googlegroups.com
Am Donnerstag, dem 16.09.2021 um 04:25 -0700 schrieb Gianluca:

Is there a way to set Jenkins to discover only certain tags based on a patter name, similar to branches?
If not what are my alternatives to hide some tags from that tab?


Bye...

Dirk
-- 
Dirk Heinrichs
Senior Systems Engineer, Delivery Pipeline
OpenText ™ Discovery | Recommind
Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet.
signature.asc

gma...@gmail.com

unread,
Sep 16, 2021, 9:29:09 AM9/16/21
to jenkins...@googlegroups.com

Hi Dirk,

While I can vote … that is not the issue I’m facing.

There is a comment on that ticket that explain probably better that how I did in my email:

 

As far as I understand, this works as expected. A Build Strategy is responsible for the decision whether to build a newly discovered Tag Pipeline or not. The default strategy is not to build. The "Tags" build strategy changes the default to build but can be configured to ignore old or new tags.

For the tags not to be discovered or to be skipped in the first place the "Discover Tags" behavior of the Github Branch Source plugin needs to be extended or an extra plugin developed that adds a tag filter behavior.

 

The last line is what I’d like to see achieved.

So, I would take that it’s a no. It’s not possible unless someone extend the GitHub branch source code

 

That’s sad.

 

Cheers,

Gianluca.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/160da4fd3bf3b09154f59caa2974562f0f0964a3.camel%40opentext.com.

openpgp-digital-signature.asc
Reply all
Reply to author
Forward
0 new messages