Reputation: 141
How I can trigger Jenkins to build project by special string in comment of commit?
For example, I want to publish project to Beta env. only when I put "Beta build" string in comment of svn commit.
Upvotes: 1
Views: 954
Reputation: 16305
In the advanced part of the subversion configuration in a job you have "Excluded Commit Messages". Try to match the message not containing your string ^((?!string).)*$ -- see Regular expression to match a line that doesn't contain a word?
Upvotes: 2