Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Merge pull request #49 from juergh/add-included-regions
[FIXED JENKINS-11749] Included regions feature for GitSCM plugin
- Loading branch information
Showing
4 changed files
with
111 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<div> | ||
If set, and Jenkins is set to poll for changes, Jenkins will honor any files and/or | ||
folders in this list when determining if a build needs to be triggered. | ||
<p/> | ||
Each inclusion uses regular expression pattern matching, and must be separated by a new line. | ||
An empty list implies that everything is included. | ||
<p/> | ||
<pre> | ||
myapp/src/main/web/.*\.html | ||
myapp/src/main/web/.*\.jpeg | ||
myapp/src/main/web/.*\.gif | ||
</pre> | ||
The example above illustrates that a build will only occur, if html/jpeg/gif files | ||
have been committed to the SCM. Exclusions take precedence over inclusions, if there is | ||
an overlap between included and excluded regions. | ||
<p/> | ||
More information on regular expressions can be found | ||
<a href="http://www.regular-expressions.info/" target="_blank">here</a>. | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters