我已经使用Jenkins自动化了一个应用程序。当我将代码推到主分支时,Jenkins脚本会运行并重新构建应用程序。这就是我目前的情况。
现在我需要做的是,当我只使用特定的提交消息时,我需要触发Jenkins构建。(例如,由“构建”键组成的提交消息只能再次构建应用程序。)
Ex:-
git commit -m "Build | this is demo commit" - should be build the application.
git commit -m "this is demo commit" - should not be rebuild.
我能这