Forewarning: Its possible I don't understand how Jenkins works completely, and I am pretty novice in general, so please bear with me.
I'm working on a Jenkins build script for a project, and one aspect of the job is that it needs to poll scm nightly (using build triggers->Poll SCM) and then edit the "version" config file with an incremented build/version number then push that to the bitbucket repository. However, I don't want Jenkins to consider the version config file when polling the SCM for changes. As in, if the only change is a version update, ignore that and do not do the build-- otherwise it will always do builds nightly.
Thanks and if I am approaching this the completely wrong way please let me know!