RazorRunner
RazorRunner

Reputation: 141

Jenkins CI: how to trigger build on special svn comment

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

Answers (1)

Peter Schuetze
Peter Schuetze

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

Related Questions