-
Notifications
You must be signed in to change notification settings - Fork 644
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add filtering #777
Add filtering #777
Conversation
Tune this with parameter `<filter>`.
Pattern propertyPattern = | ||
Pattern.compile("(?<variable>" + Pattern.quote(delimiters[0]) + "(?<prop>.*?)" + Pattern.quote(delimiters[1]) + ")"); | ||
Matcher matcher = propertyPattern.matcher(line); | ||
StringBuffer ret = new StringBuffer(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
private static String[] extractDelimiters(String filter) { | ||
if (filter == null || | ||
filter.equalsIgnoreCase("false") || | ||
filter.equalsIgnoreCase("none")) { | ||
return null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codecov Report
@@ Coverage Diff @@
## master #777 +/- ##
============================================
- Coverage 47.46% 47.41% -0.05%
- Complexity 1054 1063 +9
============================================
Files 134 134
Lines 6835 6909 +74
Branches 888 904 +16
============================================
+ Hits 3244 3276 +32
- Misses 3316 3352 +36
- Partials 275 281 +6
|
SonarQube analysis reported 4 issues Watch the comments in this conversation to review them. 2 extra issuesNote: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:
|
self-[merge], don't wanna bother you with this feature. I will take the consequences for this :) |
@realmfoo The logic wrt with Dockerfiles is explained in the manual. By default, if The reason why you can specify the Dockerfile name is, that you might have a single directory with multiple, slightly differing Dockerfile but the same files e.g. to |
I have read manual before adding a comment. And I've debugged plugin to
find out why it's not working for me. If my file name is Dockerfile, then
it works fine. But when I rename it to another name plugin creates file
with Dockerfile as a name and upload it to docker engine. Then it sends
command to build image but uses original file name. I've made change
locally and it worked as expected.
I'll create a working example tomorrow.
…On Tue, May 23, 2017 at 3:23 PM, Roland Huß ***@***.***> wrote:
@realmfoo <https://github.com/realmfoo> The logic wrt with Dockerfiles is
explained in the manual <https://dmp.fabric8.io/#docker:build>. By
default, if dockerFile is given, and its a relative path, its looked up
relatively to src/main/docker.
The reason why you can specify the Dockerfile *name* is, that you might
have a single directory with multiple, slightly differing Dockerfile but
the same files e.g. to COPY. So you can use different dockerFile configs
in your image to reuse those files.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#777 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAr7Qk-F5JVGku-qz72eCGKAu32gLXKWks5r8s_MgaJpZM4Nce69>
.
--
С уважением,
Константин
|
PR merged! Thanks!
Tune this with parameter
<filter>
.