Hello,
I have a CI/CD pipeline that kicks off upon pull request creation... as a precursor to the CI/CD pipeline, I'd like to determine if the changes to the files in the pull request occurred in specific files (.java, .js. .xml, etc.) and, more specifically, the lines the developer has updated/added/etc... if the changes match specific conditions (occurred in a Java file, in a method that is an HTTP Endpoint, for example) then I'd like to send the job to Jenkins... otherwise... do nothing...
any ideas as to how I'd best accomplish this? I'd rather not send jobs to Jenkins (which could filter the files accordingly as described above) but that is network traffic and cpu swipes on a build server already burdened with a heavy resource load.
thx