-
Notifications
You must be signed in to change notification settings - Fork 14
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
Added dynamic macros into Jenkins config #20
Changes from 5 commits
f728d72
caafcbb
904f7a2
ed66398
54e807e
9fc9016
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,6 @@ final public class Constants { | |
public static final String REPORT_TESTS_LIST_JSON = "tests-list.json"; | ||
public static final String IRRELEVANT_GLOB_STRING = "report-{runtime,devtools,compiler}.xml.gz"; | ||
public static final double VAGUE_QUERY_THRESHOLD = 0.5; | ||
|
||
public static final int VAGUE_QUERY_LENGTH_THRESHOLD = 4; | ||
public static final String ESCAPE_DIRECTORY_REGEX = "((\\.\\./)+.*(\\.\\./)*.*)|((\\.\\./)*.*(\\.\\./)+.*)"; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Isnt better to simply check, that the fully resolved filename, the final abs path (java have methods for that), is simply still in desired workspace/cwd/app dir? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I wil merge this as it is. But the rework of shoudl be needed. eg correctdir/correctdir/../fileInFirstCorrectDir is pretty correct |
||
} |
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.
trust in you, I have, young padawan. However this is becaoming regex hell :) I once implemented mathematic formula parser based on split and repalce... not any more!