Build with parameters run a function from a shared library

2023-11-13 Thread Michael Kanchuker‎
Hello, I have a parameterized build with an Active Choices Parameter. is there a way to run a function that I wrote in one of my shared libraries defined in Jenkins? Specifically, I need to update the values based on some API query. Thanks, Michael -- You received this message because you are

RE: GIT sparse checkout and triggering a build

2023-11-13 Thread 'David Balazic' via Jenkins Users
A small typo: the actual lines under "Included Regions" were: ^foo1/.* ^foo2/.* ^foo3/.* Sorry, David Balažic -Original Message- From: 'David Balazic' via Jenkins Users Sent: Monday, 13 November 2023 13:54 To: jenkinsci-users@googlegroups.com Subject: RE: GIT sparse checkout and trigge

RE: GIT sparse checkout and triggering a build

2023-11-13 Thread 'David Balazic' via Jenkins Users
Hi! After some more testing, I figured out the triggering part. In the " Polling ignores commits in certain paths" option under " Included Regions" I added ^foo1/ ^foo2/.* ^foo3/.* Apparently the regex is matched against file paths that have the form: foo1/folder1/folder2/file.ext (no leading