forked from fredg02/extra-columns-plugin
-
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fixed JENKINS-51171] - Use Regex to filter for an Buildparameter
[Fixed JENKINS-43605] - ability to specify parameters to show and parameters to exclude for a view
- Loading branch information
Showing
4 changed files
with
40 additions
and
17 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
23 changes: 23 additions & 0 deletions
23
src/main/resources/jenkins/plugins/extracolumns/BuildParametersColumn/help-regex.html
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,23 @@ | ||
<div> | ||
Here are a few examples for regular expressions: | ||
<table style="margin-left: 10px;"> | ||
<tr> | ||
<td style="padding: 2px"><b>.*</b></td><td style="padding: 2px">matches any character sequence</td> | ||
</tr> | ||
<tr> | ||
<td style="padding: 2px"><b>foo.*</b></td><td style="padding: 2px">matches any string that starts with "foo"</td> | ||
</tr> | ||
<tr> | ||
<td style="padding: 2px"><b>^((?!bar).)*$</b></td><td style="padding: 2px">matches any string that does not start with "bar"</td> | ||
</tr> | ||
<tr> | ||
<td style="padding: 2px"><b>(?i)</b></td><td style="padding: 2px">makes the regular expression case insensitive</td> | ||
</tr> | ||
</table> | ||
<p> | ||
You can find more info here:<br/> | ||
<ul> | ||
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html">https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html</a></li> | ||
<li><a href="https://docs.oracle.com/javase/tutorial/essential/regex/">https://docs.oracle.com/javase/tutorial/essential/regex/</a></li> | ||
</ul> | ||
</div> |