You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BrightLight edited this page Sep 26, 2015
·
2 revisions
<Instructions> element
The <Instructions> element represents an instruction that - when execute - actually executes a series of instructions that are all defined within this wrapping element.
As with each instruction it is possible to define a condition for this instruction, so that all instructions wrapped by this element are only executed if the specified condition is met.
Example
<!-- Post-Commit instructions -->
<Instructions>
<HookTypeConditionHookType="PostCommit" />
<!-- Send email reminder to user who modified "ImportantFile.txt" with further instructions -->
<MailInstructionFromMailAddress="repocop@mydomain.com"ToMailAddresses="#author#@mydomain.com"Subject="Attention, #author# has changed an important file."BodyTemplateFile="ImportantFileChangedMailBody.txt">
<ChangedPathConditionChangedPathRegExPattern=".*/trunk/ImportantFile.txt" />
</MailInstruction>
<!-- Notify project leader about every change -->
<MailInstructionFromMailAddress="#author#@mydomain.com"ToMailAddresses="projectleader@mydomain.com"Subject="Svn ##revision#"Body="#logmessage#"/>
</Instructions>