'How I can detect that the main code is not changed but the md files are in Jenkinsfile

Actually my question is quite clear and understandable. In my project, which I keep up to date via Git, I want Jenkins to skip the build process when I change only the parts of the documentations (main code will not be changed) such as readme. How can I do this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source