How to hide/remove some tags from Jenkins builds?

2021-09-16 Thread Gianluca
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

Re: How to hide/remove some tags from Jenkins builds?

2021-09-16 Thread 'Dirk Heinrichs' via Jenkins Users
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? Please vote for this issue: https://issues.jenkins.io/

RE: How to hide/remove some tags from Jenkins builds?

2021-09-16 Thread gmaxera
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

Could not create or change to directory. Directory [webapp]]

2021-09-16 Thread Ram R
Hi Guys, Unable to copy jenkins artifacts from Jenkins jobs to Docker host, getting below error. I have google but not getting solution. Error is below. SSH: Connected SSH: cd [/home] SSH: OK SSH: cd [/home] SSH: OK SSH: mkdir [webapp] SSH: FAILED: Message [Permission denied] SSH: Disconnecti

Can vars scripts reference variables defined in a higher scope?

2021-09-16 Thread David Karr
I work on a somewhat complicated build process using Jenkins scripted pipeline, where the Jenkinsfile is very small, but it imports a large shared library, sets some application-specific properties, and then calls a top-level function in the "vars" section of the shared library. The top-level

Re: Can vars scripts reference variables defined in a higher scope?

2021-09-16 Thread David Karr
I've managed to implement something that is effectively the same. I realized that I can define a class in "src" that is just a static data container and can be accessed from any of the "vars" scripts. On Thursday, September 16, 2021 at 1:21:10 PM UTC-7 David Karr wrote: > > I work on a somewha

Automatic trigger not happening after the Jenkins webhook change change

2021-09-16 Thread 'Venkat' via Jenkins Users
Hi Team, I have recently migrated from Bit bucket to Git Hub and I have replaced the existing Jenkins pipeline bitbucket webhooks with the git hub webhooks. But when I push the code the pipeline is not getting triggered on Jenkins until I manually trigger the pipeline for the first time. Can some