I've previously had SVN as our source control and when using the polling ignore if certain paths, I've been able to set them in the Jenkins config using regex paths like "/project/buildscripts/.*"
Now that we're using git, I have one repo full of infrastructure projects, which looks like this:
[root]
/project.1
/project.2
/project.3
allprojects.sln
I want to build only the csproj within project.1 directory when a push is made into that directory by ignoring polling on /project.2 and /project.3
because there's a period in the pathing I'm trying to ignore, I'm having issues solving the proper syntax
For the section of Git labeled "Polling ignores commits in certain paths" I've tried:
Project.2/.* (which won't ignore ANY directory pushed to...) /Project.2/.* (Which ignores pushes to ALL directories) /Project.2/.* (Which ignores pushes to ALL directorys)...
I need help resolving the syntax accepted for the Included Regions of "Polling ignores commits in certain paths". does anyone know the required syntax to ignore commits in git?