we are using Multibranch Pipeline and we are using default configuration in jenkins so that once we have some change pushed to the “master” branch our build is being automatically triggered. That works fine.
However, I was wondering if it is possible to somehow “disable” this behavior in cases when we do modification only of the Jenkinsfile and push that change to the master branch as well? Only for that particular case we do not see point at all to have our build job to be triggered because development code for our product is not changed.
Can you tell me if this is supported in any way?
and this will skip the rest of the build. I need to send of course commit message containing [ci skip].
Although I do not have explicitly at all currently checkout stage or actions to checkout in my Jenkins code, only this addition is enough before all my other build stages?